[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
user=mysql
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=0
# Disabling symbolic-links is recommended to prevent assorted security risks;
# to do so, uncomment this line:
# symbolic-links=0
[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
skip-external-locking
max_allowed_packet=16M
key_buffer=16M
innodb_buffer_pool_size=512M
innodb_file_per_table=1
innodb_flush_method=O_DIRECT
innodb_flush_log_at_trx_commit=0
thread_stack=128K
thread_cache_size=128
myisam-recover=BACKUP
max_connections=128
table_cache=32
query_cache_limit=1M
query_cache_size=4M
slow_query_log=/var/log/mysql/mysql-slow.log
long_query_time=1
expire_logs_days=10
max_binlog_size=100M
[mysqldump]
quick
quote-names
max_allowed_packet=16M