How to troubleshoot the “MySQL server has gone away” error
The MySQL server has gone away error denotes that the connection was closed by the MySQL server (mysqld) after it timed out. If nothing happens for eight hours (28800 seconds), MySQL will automatically terminate...