You can also log into MySQL console and run the following command to set max_allowed_packet size for the duration of the session.
set global net_buffer_length=1000000; set global max_allowed_packet=1000000000;
标签:insert,exceed,set,max,packet,allowed,Got From: https://www.cnblogs.com/Fred1987/p/16950163.html