[client]
port=3306
socket          = /tmp/mysql3306-master.sock
[mysqld]
datadir =       /data0/mysql/master/var_3306/
port            = 3306
socket          = /tmp/mysql3306-master.sock
skip-locking
default-storage-engine=INNODB
max_connections=999
connect_timeout=30
log_bin_trust_function_creators = 1;
table_cache = 512
innodb_buffer_pool_size=1G
innodb_additional_mem_pool=16M
innodb_log_file_size=256M
innodb_log_files_in_group=3
innodb_log_buffer_size=3M
innodb_file_per_table=1
innodb_file_io_threads=4
innodb_open_files=200
innodb_max_dirty_pages_pct=90
innodb_thread_concurrency=8

log-bin = /data1/mysqllog/log-bin-3306-master.log
binlog_format=mixed
log-error = /data1/mysqllog/err-3306-master.log
log-slow-queries  = /data1/mysqllog/slow-queries-3306-master.log
long_query_time = 30
log-update =  /data1/mysqllog/update-3306-master.log
sync_binlog = 0
 
server-id = 1
binlog-do-db=shiwan
binlog-ignore-db=mysql
[mysqldump]
quick
max_allowed_packet = 16M
[mysql]
no-auto-rehash
[myisamchk]
key_buffer_size = 256M
sort_buffer_size = 20M
read_buffer = 2M
write_buffer = 2M
[mysqlhotcopy]
interactive-timeout