> ## Content Index
> Fetch the complete content index at: https://helpmonks.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# A solution to MySQL ERROR 2006 (HY000): MySQL server has gone away
- URL: https://helpmonks.com/blog/a-solution-to-mysql-error-2006-hy000-mysql-server-has-gone-away/
- Published: 2010-10-31T00:00:00.000Z
- Updated: 2026-04-04T01:58:05.000Z
- Description: Having just moved quite a large installation to a MySQL database I have encountered the following error when connecting to the MySQL server: ERROR 2006 (HY00
- Author: Nitai
- Tags: email marketing

Having just moved quite a large installation to a MySQL database I have encountered the following error when connecting to the MySQL server:

ERROR 2006 (HY000): MySQL server has gone away

After looking at countless solutions and none working (many say that the max\_packet value has to be increased), I found a MySQL engineer stating that is has to do with the timeout values which could be 10 or 20 (by default).

Indeed, the problem was solved on our servers with a higher value for interactive\_timeout and wait\_timeout. You can set these values (and many others) in the my.cnf file.