MySQL Error 1153 – Got a packet bigger than ‘max_allowed_packet’ bytes

This one can be fixed by add some line in my.cnf.

Usually MySQL config file is located in etc/my.cnf.

Open it and add two line like this:

It gives 100M.

Check here for more: http://stackoverflow.com/questions/93128/mysql-error-1153-got-a-packet-bigger-than-max-allowed-packet-bytes