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

Easily fixed

SSH into server

Edit MySQL config – in CentOS 5
# vi /etc/my.cnf

If:

there is no line with ‘max_allowed_packet’ add below the line ‘[mysqld]’:
max_allowed_packet=16M

Else:

increase the max_allowed_packet value

Then:

Save the file and restart mysql:
service mysqld restart

Done.

2 thoughts on “MySQL Error #1153 – Got a packet bigger than ‘max_allowed_packet’ bytes”

Leave a Reply

Your e-mail address will not be published. Required fields are marked *