mySQL configuration

Jun 5 2013

Site Down with General Error: 2006 MySQL server has gone away

I recently got this error message while working on a Drupal 7.22 website. See screenshot.

Sometimes it's hard to find the sollution to this problem. The error message is so wordy and goes on for several lines. When searching Google for a solution, what search phrase do you use? Do you search for "Uncaught Exception in Shutdown Function" or "General Error: 2006 MySQL server has gone away"?

Here are some solutions to this problem.
1. Press F5 on your browser to refresh the screen. For some people, this simple step solved the problem.

2. Edit your my.ini configuration file to increase max allowed packet size.