user = mysql
port = 3306
character-set-server = utf8
collation-server = utf8_general_ci
lower_case_table_names = 1
default-time-zone = “+08:00”

max_connections = 1000
open_files_limit = 65535
innodb_buffer_pool_size = 10G
innodb_log_file_size = 256M

slow_query_log=1
long_query_time=2
slow_query_log_file=slow-query.log

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注