File: //etc/my.cnf
# Details on all these settings can be found at:
# https://godaddy-corp.atlassian.net/wiki/spaces/HOSTING/pages/114460474/MySQL+Configuration
[mysqld]
# Common Settings
user = mysql
datadir = /var/lib/mysql
tmpdir = /tmp/mysqltmp/:/var/mysqltmp/
performance_schema = OFF
log_warnings = 0
myisam-recover-options = FORCE
max_allowed_packet = 268435456
max_connections = 250
max_user_connections = 30
open_files_limit = 65535
thread_cache_size = 100
log_error = /var/lib/mysql/p3plzcpnl507875.prod.phx3.secureserver.net.err
# Timeouts
connect_timeout = 60
interactive_timeout = 60
wait_timeout = 60
# InnoDB Settings
innodb_buffer_pool_size = 8192M
innodb_flush_method = O_DIRECT
innodb_log_buffer_size = 16M
innodb_log_file_size = 1024M
innodb_file_per_table = 1
transaction_isolation = READ-COMMITTED
# Memory Settings
key_buffer_size = 512M
read_buffer_size = 2M
read_rnd_buffer_size = 4M
sort_buffer_size = 4M
join_buffer_size = 4M
myisam_sort_buffer_size = 128M
tmp_table_size = 128M
max_heap_table_size = 128M
table_open_cache = 5000
table_definition_cache = 2000
# Query Cache
query_cache_type = 1
query_cache_size = 100M
query_cache_limit = 256k
[mysqld-5.7]
sql_mode = "NO_ENGINE_SUBSTITUTION"
[mariadb]
sql_mode = "NO_ENGINE_SUBSTITUTION"
[mysqldump]
max_allowed_packet = 1024M
quick
[mysql]
disable-auto-rehash
prompt=\d>\_
[myisamchk]
key_buffer_size = 512M
read_buffer_size = 32M
sort_buffer_size = 512M
write_buffer_size = 32M
[mysqlhotcopy]
interactive-timeout
!include /root/.my.cnf