mirror of
https://github.com/frappe/bench.git
synced 2024-11-13 16:56:33 +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:
parent
bebcd5300e
commit
99cf7610c0
@ -5,7 +5,10 @@ innodb-large-prefix=1
|
|||||||
character-set-client-handshake = FALSE
|
character-set-client-handshake = FALSE
|
||||||
character-set-server = utf8mb4
|
character-set-server = utf8mb4
|
||||||
collation-server = utf8mb4_unicode_ci
|
collation-server = utf8mb4_unicode_ci
|
||||||
max_allowed_packet=64M
|
max_allowed_packet=256M
|
||||||
|
|
||||||
[mysql]
|
[mysql]
|
||||||
default-character-set = utf8mb4
|
default-character-set = utf8mb4
|
||||||
|
|
||||||
|
[mysqldump]
|
||||||
|
max_allowed_packet=256M
|
||||||
|
@ -11,7 +11,7 @@ key-buffer-size = 32M
|
|||||||
myisam-recover = FORCE,BACKUP
|
myisam-recover = FORCE,BACKUP
|
||||||
|
|
||||||
# SAFETY #
|
# SAFETY #
|
||||||
max-allowed-packet = 64M
|
max-allowed-packet = 256M
|
||||||
max-connect-errors = 1000000
|
max-connect-errors = 1000000
|
||||||
innodb = FORCE
|
innodb = FORCE
|
||||||
|
|
||||||
@ -49,7 +49,7 @@ innodb-large-prefix = 1
|
|||||||
collation-server = utf8mb4_unicode_ci
|
collation-server = utf8mb4_unicode_ci
|
||||||
character-set-server = utf8mb4
|
character-set-server = utf8mb4
|
||||||
character-set-client-handshake = FALSE
|
character-set-client-handshake = FALSE
|
||||||
max_allowed_packet = 64M
|
max_allowed_packet = 256M
|
||||||
|
|
||||||
# LOGGING #
|
# LOGGING #
|
||||||
log-error = /var/lib/mysql/mysql-error.log
|
log-error = /var/lib/mysql/mysql-error.log
|
||||||
@ -59,3 +59,6 @@ slow-query-log-file = /var/lib/mysql/mysql-slow.log
|
|||||||
|
|
||||||
[mysql]
|
[mysql]
|
||||||
default-character-set = utf8mb4
|
default-character-set = utf8mb4
|
||||||
|
|
||||||
|
[mysqldump]
|
||||||
|
max_allowed_packet=256M
|
Loading…
Reference in New Issue
Block a user