[MySQL] Reduce max-connections, disallow performance_schema

master
andryyy 2019-10-30 21:08:59 +01:00
parent df3d78f03b
commit 59d966ab0f
No known key found for this signature in database
GPG Key ID: 8EC34FF2794E25EF
1 changed files with 3 additions and 2 deletions

View File

@ -6,8 +6,9 @@ collation-server = utf8mb4_unicode_ci
#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=1500
max_allowed_packet = 192M
max-connections = 100
performance_schema = 0
innodb-strict-mode=0
skip-host-cache
skip-name-resolve