[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
max_connections = 500
max_user_connections=100
skip-locking
key_buffer = 92M
myisam_sort_buffer_size = 64M
join_buffer_size = 2M
read_buffer_size = 4M
sort_buffer_size = 2M
key_buffer_size = 256M
table_cache = 20000
thread_cache_size = 384
#wait_timeout = 90
#connect_timeout = 10
tmp_table_size = 8192M
max_heap_table_size = 8192M
max_allowed_packet = 64M
#max_connect_errors = 10
query_cache_limit = 3M
query_cache_size = 40M
query_cache_type = 1
query_prealloc_size = 163840
query_alloc_block_size = 32768
thread_concurrency = 16
[myisamchk]
key_buffer = 64M
sort_buffer = 64M
read_buffer = 16M
write_buffer = 16M
[mysqldump]
quick
max_allowed_packet = 16M
[mysql.server]
user=mysql
#basedir=/var/lib
old-passwords = 1
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
local-infile=0