# For advice on how to change settings please see # http://dev.mysql.com/doc/refman/5.7/en/server-configuration-defaults.html [mysqld] disable-log-bin=1 default-authentication-plugin=mysql_native_password performance-schema=0 # # Remove leading # and set to the amount of RAM for the most important data # cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%. # innodb_buffer_pool_size = 128M # # Remove leading # to turn on a very important data integrity option: logging # changes to the binary log between backups. # log_bin # # Remove leading # to set options mainly useful for reporting servers. # The server defaults are faster for transactions and fast SELECTs. # Adjust sizes as needed, experiment to find the optimal values. join_buffer_size=1M sort_buffer_size = 128M read_rnd_buffer_size = 128M datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock # Disabling symbolic-links is recommended to prevent assorted security risks symbolic-links=0 log-error=/home/somedir/app/mysql/mysqld.log general_log_file = /home/somedir/app/mysql/mysql-general.log #general_log = 0 pid-file=/var/run/mysqld/mysqld.pid innodb_buffer_pool_size=6G max_allowed_packet=268435456 open_files_limit=40000 innodb_file_per_table=1 open_files_limit=40000 max_connections=600 sql_mode="ERROR_FOR_DIVISION_BY_ZERO,NO_ENGINE_SUBSTITUTION" mysqlx=0 key_buffer_size=319M tmp_table_size=601M innodb_buffer_pool_instances=6 max_heap_table_size=601M innodb_log_file_size=1536M [client] default-character-set=utf8 [mysql] default-character-set=utf8 [mysqld] collation-server = utf8_unicode_ci character-set-server=utf8