[client]
port = 3306
socket = /tmp/mysql.sock
[mysqld]
# Performance
optimizer_search_depth=0
tmp_table_size=32M
max_heap_table_size=32M
skip_ssl
innodb_flush_method=O_DIRECT
innodb_lru_scan_depth=512
innodb_io_capacity=100
innodb_io_capacity_max=300
innodb_buffer_pool_instances=4
innodb_deadlock_detect=0
innodb_adaptive_hash_index=0
innodb_max_dirty_pages_pct=0
innodb_file_format=Barracuda
innodb_large_prefix=1
innodb_checksum_algorithm=crc32
innodb_buffer_pool_dump_at_shutdown=0
innodb_buffer_pool_load_at_startup=0
innodb_strict_mode=0
optimizer_switch=condition_fanout_filter=off,derived_merge=off
transaction-isolation=READ-COMMITTED
#optimizer_switch=derived_merge=off,block_nested_loop=off
#innodb_temp_data_file_path=ibtmp1:12M:autoextend:max:512M
#innodb_temp_data_file_path=../../../tmpfs/ibtmp1:12M:autoextend:max:512M
internal_tmp_disk_storage_engine=MYISAM
# SlowLog
min_examined_row_limit=3000
slow_query_log = 1
slow_query_log_file = /tmpfs/mysql-slow-query.log
long_query_time = 10
#log_queries_not_using_indexes = 1
sql-mode=NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
performance_schema=off
ft_min_word_len=3
low_priority_updates=1
concurrent_insert=2
max_connections=101
max_user_connections=15
#wait_timeout=60
#interactive_timeout=60
tmpdir=/tmpfs
port = 3306
socket = /tmp/mysql.sock
#skip-external-locking
key_buffer_size = 256M
max_allowed_packet = 128M
table_open_cache = 16384
table_definition_cache = 4096
sort_buffer_size = 4M
join_buffer_size = 1M
query_cache_type = 0
query_cache_size = 0
server-id = 1
#innodb_data_home_dir = /var/db/mysql
#innodb_data_file_path = ibdata1:10M:autoextend
#innodb_log_group_home_dir = /var/db/mysql
# You can set .._buffer_pool_size up to 50 - 80 %
# of RAM but beware of setting memory usage too high
innodb_buffer_pool_size = 4G
#innodb_additional_mem_pool_size = 20M
# Set .._log_file_size to 25 % of buffer pool size
innodb_log_file_size = 512M
#innodb_log_buffer_size = 8M
innodb_flush_log_at_trx_commit = 2
# innodb_lock_wait_timeout = 8
[mysqldump]
max_allowed_packet = 256M
quote_names
quick
[mysql]
prompt = \u@\h [\d]>\_
no-auto-rehash