[client] port = 3306 socket = /var/lib/mysql/mysql.sock [mysqld_safe] open-files-limit = 30000 [mysqld] basedir = /usr datadir = /var/local/mysql tmpdir = /var/local/tmp/ port = 3306 socket = /var/lib/mysql/mysql.sock back_log = 50 concurrent_insert = 0 expire_logs_days = 3 ft_min_word_len = 3 join_buffer_size = 16M key_buffer_size = 16M log-bin = mysql-bin log-error slow_query_log long_query_time = 1 max_allowed_packet = 256M max_binlog_size = 256M max_connect_errors = 10000 max_connections = 500 max_heap_table_size = 512M myisam_sort_buffer_size = 512M performance_schema query_alloc_block_size = 65536 query_cache_limit = 20M query_cache_min_res_unit = 2K query_cache_size = 768M query_prealloc_size = 262144 range_alloc_block_size = 4096 read_buffer_size = 2M read_rnd_buffer_size = 4M read_buffer_size = 16M skip-external-locking skip_name_resolve sort_buffer_size = 32M table_cache = 1000 thread_cache = 7000 thread_concurrency = 16 tmp_table_size = 512M transaction_alloc_block_size = 8192 transaction_prealloc_size = 4096 userstat = ON wait_timeout = 28800 # Replication : MASTER server-id = 102 sync_binlog = 1 innodb_additional_mem_pool_size = 20M innodb_buffer_pool_size = 3G innodb_data_file_path = ibdata1:1000M:autoextend innodb_file_io_threads = 4 innodb_file_per_table innodb_flush_log_at_trx_commit = 1 innodb_lock_wait_timeout = 60 innodb_log_buffer_size = 8M innodb_log_file_size = 256M innodb_log_files_in_group = 3 innodb_support_xa = 1 innodb_thread_concurrency = 16 [mysqldump] max_allowed_packet = 16M quick [mysql] no-auto-rehash [isamchk] key_buffer = 256M read_buffer = 2M sort_buffer = 256M write_buffer = 2M [myisamchk] key_buffer = 256M read_buffer = 2M sort_buffer = 256M write_buffer = 2M [mysqlhotcopy] interactive-timeout