# MySQL 客户端参数
[client]
no-beep
# pipe
# socket=mysql
# 端口号
port=3306
# 字符编码
[mysql]
default-character-set=utf8
# SERVER SECTION
# ----------------------------------------------------------------------
[mysqld]
# The next three options are mutually exclusive to SERVER_PORT below.
# skip-networking
# enable-named-pipe
# The Pipe the MySQL Server will use
# socket=mysql
# The TCP/IP Port the MySQL Server will listen on
port=3306
# 安装路径
basedir="H:/Program Files (x86)/MySQL/MySQL Server 5.6/"
# 数据库文件路径
datadir="H:/Program Files (x86)/MySQL/MySQL Server 5.6/data\"
# 数据库字符编码
character-set-server=utf8
# 数据库默认的存储引擎
default-storage-engine=INNODB
# Set the SQL mode to strict
sql-mode="STRICT_TRANS_TABLES,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
# Enable Windows Authentication
# plugin-load=authentication_windows.dll
# 日志配置.
#日志是以文件的方式输出
log-output=FILE
general-log=0
#日志名称
general_log_file="ZHANGWEI.log"
slow-query-log=1
slow_query_log_file="ZHANGWEI-slow.log"
long_query_time=10
# Binary Logging.
# log-bin
# Error Logging.
log-error="ZHANGWEI.err"
# MySQL 服务同时处理的数据库连接的最大数量.
max_connections=100
# 允许存放在查询缓存区的查询结果最大长度
query_cache_size=0
# 同时打卡数据表的数量
table_open_cache=2000
# 临时数据表的最大长度
tmp_table_size=57M
# 服务线程缓存数量
thread_cache_size=9
#*** MyISAM指定参数
# 当重建索引时 MySQL允许使用的临时文件夹大小
myisam_max_sort_file_size=100G
#MySQL 重建索引以及 load data infile 到一个空表时缓冲区的大小
myisam_sort_buffer_size=113M
#关键字缓冲区大小
key_buffer_size=8M
#进行全表扫描的缓冲区大小
read_buffer_size=64K
#排好序的数据存储缓冲区大小
read_rnd_buffer_size=256K
#排序缓冲区大小
sort_buffer_size=256K
#*** INNODB 指定参数***
innodb_additional_mem_pool_size=8M
innodb_flush_log_at_trx_commit=1
innodb_log_buffer_size=5M
innodb_buffer_pool_size=349M
#
innodb_log_file_size=48M
innodb_thread_concurrency=9
innodb_autoextend_increment=64M
innodb_buffer_pool_instances=8
innodb_concurrency_tickets=5000
innodb_old_blocks_time=1000
innodb_open_files=300
innodb_stats_on_metadata=0
innodb_file_per_table=1
innodb_checksum_algorithm=0
back_log=70
flush_time=0
join_buffer_size=256K
.
max_allowed_packet=4M
open_files_limit=4110
query_cache_type=0
sort_buffer_size=256K
table_definition_cache=1400
binlog_row_event_max_size=8K
sync_master_info=10000
sync_relay_log=10000
sync_relay_log_info=10000
相关推荐
mysql8.0.13 my.ini设置文件 Windows下的配置文件直接可用
资源就是mysql的my.ini文件,有需要和参考的可以下来看看,mysql的安装卸载文章在https://blog.csdn.net/qq_40342174/article/details/82352162
MySQL5.6配置文件。只需要修改basedir="C:/Program Files/MySQL/MySQL Server 5.6/"、datadir="C:/ProgramData/MySQL/MySQL Server 5.6/data"这两个为你的MySQL安装目录就可以用。
MySQL ini 初始化配置文件 配置环境:Windows Server 2008 R2 4核八线程 16G 具体可残酷配置说明及优化建议修改
mysql 免安装版本通常需要下载该配置文件,直接将此文件放到mysql的bin目录下即可(注意修改配置文件里面的实际安装路径),本人博客中还有mysql改密码流程指导
Mysqlforwindows之my.ini优化.pdf
mysql8.0.25版本,已设my.ini解压可用
mysql 8.0 windows 默认my.ini 配置文件有英文解释,可做配置参考。linux下可参考使用 win10 安装配置 mysql 8.0 MSI版 https://blog.csdn.net/haveqing/article/details/106355632
mysql免安装,中没有my.ini。但是我们需要更改数据库的编码集时。就需要my.ini,本人提供一个。下载下来就可以使用。只需要更改default-character-set=(你要设置的编码集)即可。
安装MySQL配置文件 mysql8.0.13 my.ini设置文件 Windows下的配置文件直接可用
mysql 5.7 windows 默认my.ini 配置文件有英文注释,可做配置参考。linux下可参考使用 win10 安装配置 mysql 5.7 zip版 https://blog.csdn.net/haveqing/article/details/106355576
MySQL配置文件,MySQL
mysql中my.ini配置文件 my.ini配置
安装版的MySql运行的时候 出现"服务无法启动 服务没有报告任何错误",j解决办法:在mysql的安装路径(C:\Program Files\MySQL\MySQL Server 8.0)中没有配置文件,则自己手动创建一个,文件名为:my.ini
my.ini是MySQL数据库中使用的配置文件,修改这个文件可以达到更新配置的目的。修改my.ini文件后需要重启数据库
此为MySQL解压免安装版的配置文件,可拷贝到MySQL目录下直接使用,只需要根据你本地机的环境相应修改basedir和datadir参数。方便初学者参考。
Mysql my.ini 配置文件详解 每一步都非常详细哟,,,
最新的 MySQL数据库 MySQL5.6.10的配置文件my.ini 还有配套的runMysq.bat
MySQL_my.ini 文件是 MySQL 数据库的配置文件,用于存储数据库的各种设置和参数。本文将详细介绍 MySQL_my.ini 文件的各个参数,帮助读者更好地理解和配置 MySQL 数据库。 1. 端口和 socket 设置 port = 3306 ...
Windows上mysql8.0.17离线解压包带my.ini配置文件.rar...Windows上mysql8.0.17离线解压包带my.ini配置文件.rarWindows上mysql8.0.17离线解压包带my.ini配置文件.rarWindows上mysql8.0.17离线解压包带my.ini配置文件.rar