10 years ago

10 years ago

General Troubleshooting

3307

"Got a packet bigger than 'max_allowed_packet' bytes" OR "MySQL server has gone away"

You may receive one of the following error messages when trying to run the Auto Updater:

  • SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
  • Got a packet bigger than 'max_allowed_packet' bytes

To fix this issue please make sure that your MySQL database server allows a max packet size of 32m or larger.

You can change this setting by editing your MySQL configuration file and checking to ensure that the following is set (you may need to restart the MySQL service after making this change):

max_allowed_packet = 32M

If you are using shared web hosting you will need to contact your hosting provider.