mysql.ini配置优化速度参考
时间:2021-07-01 10:21:17
帮助过:22人阅读
=
3306
[mysql]
default-character-
set=
utf8
[mysqld]
port=
3306
basedir=
"D:/MySQL/"
datadir=
"D:/MySQL/data/"
character-
set-server=
utf8
default-storage-engine=
INNODB
#支持 INNODB 引擎模式。修改为 default-storage-engine=
INNODB 即可。
#如果 INNODB 模式如果不能启动,删除data目录下ib开头的日志文件重新启动。
sql-mode=
"NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
max_connections=
3600
wait_timeout=
5
query_cache_size=
0
table_cache=
1024
tmp_table_size=
64M
event_scheduler =
on
thread_cache_size=
8
myisam_max_sort_file_size=
64G
myisam_sort_buffer_size=
35M
key_buffer_size=
512M
read_buffer_size=
64K
read_rnd_buffer_size=
256K
sort_buffer_size=
256K
innodb_additional_mem_pool_size=
4M
innodb_flush_log_at_trx_commit=
2
innodb_log_buffer_size=
16M
innodb_buffer_pool_size=
2000M
innodb_log_file_size=
128M
innodb_thread_concurrency=
0
skip-name-
resolve
mysql.ini配置优化速度参考
标签:connect tab com query 目录 code 不能启动 模式 不能