[Client] # clients [mysqld] port3306socketvarlibmysqlmysql. sockskip-external-lockingskip-innodb # skip-name-resolve # skip networking # skip-lockingmax_allowed_packe
[Client] # password = your_password port = 3306 socket =/var/lib/mysql. sock [mysqld] port = 3306 socket =/var/lib/mysql. sock skip-external-locking skip-innodb # skip-name-resolve # skip-networking # skip-locking max_allowed_packe
[Client]
# Password = your_password
Port = 3306
Socket =/var/lib/mysql. sock
[Mysqld]
Port = 3306
Socket =/var/lib/mysql. sock
Skip-external-locking
Skip-innodb
# Skip-name-resolve
# Skip-networking
# Skip-locking
Max_allowed_packet = 32 M
Max_connections = 7000
# Max_seeks_for_key = 3000
Key_buffer_size = 512 M
Table_open_cache = 512
Sort_buffer_size = 16 M
Read_buffer_size = 16 M
Join_buffer_size = 32 M
Read_rnd_buffer_size = 32 M
Myisam_sort_buffer_size = 96 M
Thread_cache_size = 32
Query_cache_size = 32 M
Tmp_table_size = 128 M
Wait_timeout = 25
Interactive_timeout = 25
# Try number of CPU's * 2 for thread_concurrency
Thread_concurrency = 8
Slow_query_log = 1
Long_query_time = 10
Slow_query_log_file =/var/log/slowlog. log # skip-networking
# Log-bin = mysql-bin
# Expire_logs_days = 20
Server-id = 1
[Mysqldump]
Quick
Max_allowed_packet = 16 M
[Mysql]
No-auto-rehash
# Remove the next comment character if you are not familiar with SQL
# Safe-updates
[Myisamchk]
Key_buffer_size = 256 M
Sort_buffer_size = 256 M
Read_buffer = 2 M
Write_buffer = 2 M
[Mysqlhotcopy]
Interactive-timeout