thread_cache_size=64
#query_cache_size=0
#query_cache_type=0
open_files_limit=10240
innodb_buffer_pool_size=10240M
innodb_data_file_path=ibdata1:128M:autoextend
innodb_read_io_threads=16
innodb_write_io_threads=16
innodb_io_capacity = 600
innodb_thread_concurrency=32
innodb_flush_log_at_trx_commit=1
innodb_log_buffer_size=32M
innodb_log_file_size=1024M
innodb_log_files_in_group=3
innodb_max_dirty_pages_pct=80
innodb_lock_wait_timeout=500
innodb_file_per_table=1
innodb_strict_mode=1
#innodb_file_format=barracuda
#innodb_large_prefix=on
# key
auto_increment_offset=2
auto_increment_increment=2
#explicit_defaults_for_timestamp=true
#sql_mode
=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_
AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
sql_mode
=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_
ENGINE_SUBSTITUTION
default_authentication_plugin=mysql_native_password
[mysqld_safe]
basedir=/mysqlsoft/mysql
datadir=/mysqldata/data
pid-file=/mysqldata/tmp/mysql.pid
log-error=/mysqldata/log/mysql-error.log
[mysql]
default-character-set=utf8mb4
no-auto-rehash
评论