user = mysql pid-file = /run/mysqld/mysqld.pid basedir = /usr datadir = /var/lib/mysql tmpdir = /tmp log_warnings=1 log_error=/var/log/mysql/mysqld.log lc-messages-dir = /usr/share/mysql lc-messages = en_US skip-external-locking binlog_format= ROW bind-address = 0.0.0.0 skip-name-resolve = 1 expire_logs_days = 10 max_binlog_size = 100M connect_timeout = 5 wait_timeout = 180 max_connections = 215 key_buffer_size = 16M myisam_sort_buffer_size = 16M join_buffer_size = 2M read_buffer_size = 2M sort_buffer_size = 3M table_open_cache = 10000 table_definition_cache = 2400 thread_cache_size = 10000 tmp_table_size = 64M max_heap_table_size = 96M max_allowed_packet = 176M concurrent_insert = 2 read_rnd_buffer_size = 4M bulk_insert_buffer_size = 32M query_cache_limit = 1M query_cache_size = 0 query_cache_type = 0 innodb_open_files = 20000 innodb_data_file_path=ibdata:512M:autoextend innodb_log_file_size = 512M innodb_log_buffer_size = 32M innodb_buffer_pool_size=1G innodb_thread_concurrency = 0 innodb_adaptive_flushing = 1 innodb_flush_neighbors=0 innodb_flush_method = O_DIRECT innodb_flush_log_at_trx_commit=2 innodb_write_io_threads = 64 innodb_read_io_threads = 64 innodb_file_per_table=1 innodb_lock_wait_timeout=1200 innodb_flush_method = O_DIRECT innodb_autoinc_lock_mode = 2 innodb_ft_cache_size = 128M lower_case_table_names = 1 slow_query_log = 1 slow_query_log_file = /var/log/mysql/slow-mysql.log long_query_time = 2