Follow Us
Contribute
  • Register

MySQL server has gone away

0 votes

This error message appears when the mysql server has timed out. The connection is closed after the server has timed out.

requested 1 year ago by errorbase (169,970 points)

1 Solution

0 votes

The default time out duration for mysql server is 8 hours. You change this by modifying the "wait_timeout" variable before starting "mysqld". The variable is hold in seconds. So the default value is 28800.

>mysqld --wait_timeout 57600

solved 1 year ago by errorbase (169,970 points)
edited 1 year ago by onur

Related errors

+1 vote
1 solution
requested 1 year ago by errorbase (169,970 points)
+1 vote
1 solution
requested 1 year ago by errorbase (169,970 points)
0 votes
1 solution
+1 vote
1 solution