mailcow/data/conf/mysql/my.cnf

32 lines
942 B
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
2019-10-31 13:38:12 +08:00
max-connections = 500
innodb-strict-mode = 0
2019-11-08 15:14:57 +08:00
innodb_buffer_pool_size = 128M
2019-11-12 06:20:01 +08:00
key_buffer_size = 24M
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:14:57 +08:00
sort_buffer_size = 16M
2019-11-08 15:12:34 +08:00
read_rnd_buffer_size = 2M
tmp_table_size = 48M
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
2017-03-02 18:23:23 +08:00
[client]
default-character-set = utf8mb4
[mysql]
default-character-set = utf8mb4