mailcow/data/conf/mysql/my.cnf

34 lines
999 B
Plaintext

[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
#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
read_buffer_size = 192K
sort_buffer_size = 2M
innodb_buffer_pool_size = 24M
read_rnd_buffer_size = 256K
tmp_table_size = 24M
performance_schema = 0
innodb-strict-mode = 0
thread_cache_size = 8
query_cache_type = 0
query_cache_size = 0
max_heap_table_size = 48M
thread_stack = 128K
skip-host-cache
skip-name-resolve
log-warnings = 0
event_scheduler = 1
[client]
default-character-set = utf8mb4
[mysql]
default-character-set = utf8mb4