[mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock symbolic-links=0 skip-external-locking key_buffer_size = 16K max_allowed_packet = 1M table_open_cache = 16M sort_buffer_size = 64K read_buffer_size = 256K read_rnd_buffer_size = 256K net_buffer_length = 2K thread_stack = 240K thread_cache_size = 4M query_cache_limit = 256K query_cache_size = 256K query_cache_type = 1 #innodb_use_native_aio = 0 innodb_file_per_table innodb_flush_log_at_trx_commit = 0 innodb_buffer_pool_size = 16M max_connections=30 max_user_connections=20 wait_timeout=10 interactive_timeout=30 long_query_time=5 #slow_query_log=1 #slow_query_log_file=/var/log/mysql-slow-queries.log [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid # # include all files from the config directory # !includedir /etc/my.cnf.d