From 71f167e99403d1365ee6766c21fc8972c63c9c1e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Wed, 9 Oct 2019 14:29:53 +1100 Subject: [PATCH] Changed default max_allowed_packet from 4M to 64M --- lib/MySQL_Thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/MySQL_Thread.cpp b/lib/MySQL_Thread.cpp index 87b65345b6..9b3d033683 100644 --- a/lib/MySQL_Thread.cpp +++ b/lib/MySQL_Thread.cpp @@ -413,7 +413,7 @@ MySQL_Threads_Handler::MySQL_Threads_Handler() { variables.monitor_replication_lag_use_percona_heartbeat=strdup((char *)""); variables.monitor_wait_timeout=true; variables.monitor_writer_is_also_reader=true; - variables.max_allowed_packet=4*1024*1024; + variables.max_allowed_packet=64*1024*1024; variables.use_tcp_keepalive=false; variables.tcp_keepalive_time=0; variables.throttle_connections_per_sec_to_hostgroup=1000000;