From 9b37597ac89a120513a289e99437c36b88cdde34 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Tue, 17 Nov 2020 19:28:22 -0800 Subject: [PATCH] Bump up max_allowed_packet https://dev.mysql.com/doc/refman/8.0/en/server-system-variables.html#sysvar_max_allowed_packet has it already set to 64M by default. I also saw some mysql connection drop issues and think this is the reason --- setup/start/mysql.cnf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/start/mysql.cnf b/setup/start/mysql.cnf index cba076143..cce8eaef3 100644 --- a/setup/start/mysql.cnf +++ b/setup/start/mysql.cnf @@ -6,7 +6,7 @@ performance_schema=OFF max_connections=50 # on ec2, without this we get a sporadic connection drop when doing the initial migration -max_allowed_packet=32M +max_allowed_packet=64M # https://mathiasbynens.be/notes/mysql-utf8mb4 character-set-server = utf8mb4