[client] socket = /var/lib/mysql/mysql.sock port = 3306 [mysqld] basedir = /usr datadir = /var/lib/mysql socket = /var/lib/mysql/mysql.sock pid-file = /var/run/mysqld/mysqld.pid port = 3306 character_set_server = utf8 collation_server = utf8_general_ci user = mysql back_log = 50 bind-address = 0.0.0.0 skip-name-resolve max_allowed_packet = 256M max_connections = 1600 table_definition_cache = 8192 max_connect_errors = 10 table_open_cache = 8192 binlog_cache_size = 4M max_heap_table_size = 164M read_buffer_size = 128K read_rnd_buffer_size = 128K sort_buffer_size = 8M join_buffer_size = 8M thread_cache_size = 8 thread_concurrency = 8 query_cache_size = 64M query_cache_limit = 8M query_cache_type = ON ft_min_word_len = 4 memlock net_read_timeout = 300 net_write_timeout = 300 thread_stack = 192K tmp_table_size = 128M log_warnings server-id = 0 # settings according to http://www.percona.com/doc/percona-xtradb-cluster/5.5/howtos/cenots_howto.html wsrep_provider=/usr/lib64/libgalera_smm.so wsrep_cluster_address=gcomm://10.2.1.10,10.2.2.10 binlog_format=ROW default_storage_engine=InnoDB innodb_autoinc_lock_mode=2 wsrep_node_address=10.2.1.10 wsrep_sst_method=xtrabackup wsrep_cluster_name=drupal_percona_cluster wsrep_sst_auth="sstuser:UmRgRe77sjOmshuXm8odtt" log-bin = mysql-bin expire_logs_days = 14 sync_binlog = 1 # *** INNODB Specific options *** innodb_buffer_pool_size = 4G innodb_data_file_path = ibdata1:10M:autoextend innodb_file_io_threads = 4 innodb_thread_concurrency = 0 innodb_read_io_threads = 64 innodb_write_io_threads = 64 innodb_flush_log_at_trx_commit = 0 innodb_log_buffer_size = 8M innodb_log_file_size = 256M innodb_log_files_in_group = 3 innodb_max_dirty_pages_pct = 90 innodb_lock_wait_timeout = 300 innodb_file_per_table innodb_buffer_pool_dump_at_shutdown = ON innodb_buffer_pool_load_at_startup = ON [mysqldump] quick max_allowed_packet = 256M [mysql] no-auto-rehash prompt = "Drupal DRUPAL-LIVE-other> " [myisamchk] key_buffer_size = 16K sort_buffer_size = 16K read_buffer = 16K write_buffer = 16K [mysqlhotcopy] interactive-timeout [mysqld_safe] log-error = /var/log/mysqld.log pid-file = /var/run/mysqld/mysqld.pid open-files-limit = 8192