# The following options will be passed to all MySQL clients
[client]
#password= your_password
port
= 3306
socket
= /tmp/mysql.sock
# Here follows entries for some specific programs
# The MySQL server
[mysqld]
basedir=D:/usr/local/mysql4
datadir=D:/usr/local/mysql4/data
port
= 3306
socket
= /tmp/mysql.sock
skip-locking
key_buffer = 128M
max_allowed_packet = 1M
table_cache = 256
sort_buffer_size = 1M
read_buffer_size = 1M
myisam_sort_buffer_size = 16M
thread_cache = 32
query_cache_size= 32M
# Try number of CPU's*2 for thread_concurrency
thread_concurrency = 4
# above is my_meduim mode, follow add new config by Hunter
net_buffer_length = 16K
wait_timeout = 60
interactive_timeout = 60
max_connections=500
back_log = 100
# Replication Master Server (default)
# binary logging is required for replication
log-bin
# required unique id between 1 and 2^32 - 1
# defaults to 1 if master-host is not set
# but will not function as a master if omitted
server-id= 1
[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
no-auto-rehash
# Remove the next comment character if you are not familiar with SQL
#safe-updates
[isamchk]
key_buffer = 128M
sort_buffer_size = 128M
read_buffer = 2M
write_buffer = 2M
[myisamchk]
key_buffer = 128M
sort_buffer_size = 128M
read_buffer = 2M
write_buffer = 2M
[mysqlhotcopy]
interactive-timeout