Got a packet bigger than 'max_allowed_packet' bytes”

set global net_buffer_length=1000000; set global max_allowed_packet=1000000000;

原文地址:https://www.cnblogs.com/zero530/p/5277785.html