Friday, July 30, 2010

Invalid query 1: Got a packet bigger than 'max_allowed_packet' bytes

Invalid query 1: Got a packet bigger than 'max_allowed_packet' bytes

If your script generates this error change the following variables:

File: /etc/my.cnf

Restart the mysql daemon after these changes

max_allowed_packet = 16M