MySQL server has gone away - in exactly 60 seconds

The "MySQL server has gone away" error message typically indicates that the connection to the MySQL server was lost.

This error message can occur for a number of reasons, such as:

  1. The MySQL server process has terminated unexpectedly.
  2. The connection to the MySQL server was lost due to a network issue.
  3. The MySQL server connection timeout period (default is 8 hours) has been exceeded.
  4. The max_allowed_packet variable in the MySQL server configuration is set to a value that is too low.

Watch a course Learn object oriented PHP

Regarding the details you've provided, "gone away in exactly 60 seconds" it can be a setting in the mysql server's configuration where the server is set to close connections that have been idle for a certain amount of time (60 seconds in this case) in order to conserve resources.