Database error: MySQL server has gone away

Messages:

Database error: MySQL server has gone away
Database error: Query execution was interrupted
Database error: Lost connection to MySQL server during query

Error type: error

Symptoms:

The query that is executed on a MySQL database returns this error instead of the expected result.

Cause:

The MySQL server connection has been interrupted – either the TCP connection has timed out or the MySQL server has stopped.

Fix:

Check if the connection between the current server and the MySQL server is active.

Restart MySQL: /etc/init.d/mysql restart

Leave a Reply

Your email address will not be published. Required fields are marked *