Last active
December 16, 2015 16:18
-
-
Save maxjustus/5461705 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Generated by Percona Configuration Wizard (http://tools.percona.com/) version REL5-20120208 | |
# Configuration name mysql55-master generated for [email protected] at 2012-06-23 04:45:09 | |
[client] | |
default-character-set=utf8 | |
[mysql] | |
# CLIENT # | |
port = 3306 | |
default-character-set=utf8 | |
[mysqld] | |
# GENERAL # | |
default_storage_engine = InnoDB | |
character-set-server = utf8 | |
# MyISAM # | |
key_buffer_size = 32M | |
myisam_recover = FORCE,BACKUP | |
# SAFETY # | |
max_allowed_packet = 16M | |
max_connect_errors = 1000000 | |
skip_name_resolve | |
sql_mode = STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_AUTO_VALUE_ON_ZERO,NO_ENGINE_SUBSTITUTION,NO_ZERO_IN_DATE,ONLY_FULL_GROUP_BY | |
sysdate_is_now = 1 | |
innodb = FORCE | |
innodb_strict_mode = 1 | |
# DATA STORAGE # | |
# BINARY LOGGING # | |
expire_logs_days = 14 | |
sync_binlog = 1 | |
# CACHES AND LIMITS # | |
tmp_table_size = 32M | |
max_heap_table_size = 32M | |
query_cache_type = 0 | |
query_cache_size = 0 | |
max_connections = 500 | |
thread_cache_size = 50 | |
open_files_limit = 65535 | |
table_definition_cache = 1024 | |
table_open_cache = 2048 | |
# INNODB # | |
innodb_flush_method = O_DIRECT | |
innodb_log_files_in_group = 2 | |
innodb_log_file_size = 5M | |
innodb_flush_log_at_trx_commit = 1 | |
innodb_file_per_table = 1 | |
innodb_buffer_pool_size = 1G | |
# LOGGING # | |
log_queries_not_using_indexes = 1 | |
slow_query_log = 1 | |
long_query_time = 0.5 | |
symbolic-links=0 | |
server-id=1 | |
# Fix some terrible mysql defaults | |
# http://jeremy.zawodny.com/blog/archives/011421.html | |
slave_net_timeout=60 | |
# UTF8 EVERYWHERE | |
collation-server = utf8_unicode_ci | |
init-connect='SET NAMES utf8' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment