2017-03-02 18:23:23 +08:00
|
|
|
[mysqld]
|
|
|
|
character-set-client-handshake = FALSE
|
|
|
|
character-set-server = utf8mb4
|
|
|
|
collation-server = utf8mb4_unicode_ci
|
2018-12-10 20:23:02 +08:00
|
|
|
#innodb_file_per_table = TRUE
|
|
|
|
#innodb_file_format = barracuda
|
|
|
|
#innodb_large_prefix = TRUE
|
2017-03-02 18:23:23 +08:00
|
|
|
#sql_mode=IGNORE_SPACE,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION
|
2019-10-31 04:08:59 +08:00
|
|
|
max_allowed_packet = 192M
|
2019-11-22 02:41:50 +08:00
|
|
|
max-connections = 350
|
|
|
|
key_buffer_size = 0
|
2020-07-02 13:53:52 +08:00
|
|
|
read_buffer_size = 192K
|
|
|
|
sort_buffer_size = 2M
|
|
|
|
innodb_buffer_pool_size = 24M
|
2019-11-22 02:41:50 +08:00
|
|
|
read_rnd_buffer_size = 256K
|
2020-07-02 13:53:52 +08:00
|
|
|
tmp_table_size = 24M
|
2019-11-22 02:41:50 +08:00
|
|
|
performance_schema = 0
|
2019-10-31 13:38:12 +08:00
|
|
|
innodb-strict-mode = 0
|
2019-11-07 03:12:25 +08:00
|
|
|
thread_cache_size = 8
|
2019-11-07 04:03:00 +08:00
|
|
|
query_cache_type = 0
|
|
|
|
query_cache_size = 0
|
2019-11-08 15:12:34 +08:00
|
|
|
max_heap_table_size = 48M
|
2019-11-07 03:12:25 +08:00
|
|
|
thread_stack = 128K
|
2017-12-09 16:06:04 +08:00
|
|
|
skip-host-cache
|
|
|
|
skip-name-resolve
|
2019-10-31 13:38:12 +08:00
|
|
|
log-warnings = 0
|
|
|
|
event_scheduler = 1
|
2021-10-29 03:58:04 +08:00
|
|
|
interactive_timeout = 3610
|
|
|
|
wait_timeout = 3610
|
2017-03-02 18:23:23 +08:00
|
|
|
|
|
|
|
[client]
|
|
|
|
default-character-set = utf8mb4
|
|
|
|
|
|
|
|
[mysql]
|
|
|
|
default-character-set = utf8mb4
|