Got a packet bigger than 'max_allowed_packet' bytes” set global net_buffer_length=1000000; set global max_allowed_packet=1000000000;