# Generated by Percona Configuration Wizard (http://tools.percona.com/) version REL5-20120208 # Configuration name server-2 generated for akbsite@hotmail.com at 2016-05-17 01:12:30 [mysql] # CLIENT # port = 3306 [mysqld] # GENERAL # default-storage-engine = InnoDB group_concat_max_len = 8192 big-tables local-infile log_bin_trust_function_creators = 1 # MyISAM # key-buffer-size = 32M myisam-recover = FORCE,BACKUP # SAFETY # max-allowed-packet = 64M max-connect-errors = 1000000 # DATA STORAGE # datadir = /var/lib/mysql/ # BINARY LOGGING # log-bin = /var/lib/mysql/mysql-bin expire-logs-days = 14 sync-binlog = 1 # CACHES AND LIMITS # tmp-table-size = 32M max-heap-table-size = 32M query-cache-type = 1 query-cache-size = 512M max-connections = 500 thread-cache-size = 50 open-files-limit = 65535 table-definition-cache = 4096 table-open-cache = 10240 # INNODB # innodb-flush-method = O_DIRECT innodb-log-files-in-group = 2 innodb-log-file-size = 256M innodb-flush-log-at-trx-commit = 1 innodb-file-per-table = 1 innodb-buffer-pool-size = 6G # LOGGING # log-error = /var/lib/mysql/mysql-error.log log-queries-not-using-indexes = 1 slow-query-log = 1 slow-query-log-file = /var/lib/mysql/mysql-slow.log [mysqldump] quick quote-names #REPLICATION# relay-log = /var/lib/mysql/relay-bin slave-net-timeout = 60