If you are using the mysql client, then start by this command: mysql --max_allowed_packet=32M If you are using mysql server, then start by this command: mysqld --max_allowed_packet=32M
mysql --max_allowed_packet=32M
mysqld --max_allowed_packet=32M