mailcow/data/conf/mysql/my.cnf

36 lines
1.0 KiB
Plaintext
Raw Normal View History

2017-03-02 18:23:23 +08:00
[mysqld]
character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci
#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
max_allowed_packet = 192M
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
read_rnd_buffer_size = 256K
2020-07-02 13:53:52 +08:00
tmp_table_size = 24M
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
skip-host-cache
skip-name-resolve
2019-10-31 13:38:12 +08:00
log-warnings = 0
event_scheduler = 1
interactive_timeout = 3610
wait_timeout = 3610
2017-03-02 18:23:23 +08:00
[client]
default-character-set = utf8mb4
[mysql]
default-character-set = utf8mb4