[client]
port = 3306
socket = /tmp/mysql.sock
default-character-set=utf8
[mysqld]
port = 3306
socket = /tmp/mysql.sock
skip-name-resolve
character-set-server=utf8
default-storage-engine = innodb
max_allowed_packet=256M
#basedir=/var/lib/mysql
datadir=/var/lib/mysql
socket=/tmp/mysql.sock
pid_file=/var/lib/mysql/mysql.pid
log_error = /var/log/mysql/error.log
innodb_buffer_pool_size = 256M
innodb_flush_method = O_DIRECT
innodb_file_per_table = 1
innodb_flush_log_at_trx_commit = 0
innodb_log_file_size = 32M
innodb_log_buffer_size = 8M
innodb_lock_wait_timeout = 50
#query-cache-type = 0
query_cache_size = 16M
open_files_limit = 65535
innodb_open_files = 8192
table_open_cache = 8192
thread_cache_size = 200
max_connections = 1024
max_user_connections = 10000
extra_max_connections = 100
max_connect_errors = 5000
[mysqldump]
quick
max_allowed_packet = 256M