2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-11 15:51:03 +00:00

increased default max_packet_size to 256M

Increased the max_packet_size for both mysqld and mysqldump to 256M. Change was made to prevent backup/restore failure due to large packet size, which used to showup as tabSingles not found
This commit is contained in:
Ameya Shenoy 2018-04-09 15:11:55 +05:30
parent bebcd5300e
commit 99cf7610c0
No known key found for this signature in database
GPG Key ID: 735490161CD5C91E
2 changed files with 9 additions and 3 deletions

View File

@ -5,7 +5,10 @@ innodb-large-prefix=1
character-set-client-handshake = FALSE
character-set-server = utf8mb4
collation-server = utf8mb4_unicode_ci
max_allowed_packet=64M
max_allowed_packet=256M
[mysql]
default-character-set = utf8mb4
[mysqldump]
max_allowed_packet=256M

View File

@ -11,7 +11,7 @@ key-buffer-size = 32M
myisam-recover = FORCE,BACKUP
# SAFETY #
max-allowed-packet = 64M
max-allowed-packet = 256M
max-connect-errors = 1000000
innodb = FORCE
@ -49,7 +49,7 @@ innodb-large-prefix = 1
collation-server = utf8mb4_unicode_ci
character-set-server = utf8mb4
character-set-client-handshake = FALSE
max_allowed_packet = 64M
max_allowed_packet = 256M
# LOGGING #
log-error = /var/lib/mysql/mysql-error.log
@ -59,3 +59,6 @@ slow-query-log-file = /var/lib/mysql/mysql-slow.log
[mysql]
default-character-set = utf8mb4
[mysqldump]
max_allowed_packet=256M