File: //etc/my.cnf
[mysqld]
bind-address=0.0.0.0
performance-schema=0
#character-set-server = utf8mb4
#character_set_database=latin1
#collation-server = utf8mb4_unicode_ci
local-infile=0
innodb_file_per_table
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
log-error=/var/log/mysqld.log
# pid-file=/var/run/mysqld/mysqld.pid
innodb_file_per_table=1
max_allowed_packet=268435456
open_files_limit=42000
#sql_mode=""
sql_mode = "ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION"
default-storage-engine = MyISAM
max_connections=1000
max_user_connections = 400
interactive_timeout = 30
innodb_buffer_pool_instances = 32
innodb_buffer_pool_size = 32G