Thursday, January 15, 2015

#2006 - MySQL server has gone away

Error : #2006 - MySQL server has gone away
Soln :-
This error is occur due to due to expire of wait_timeout .
Just go to mysql server check its wait_timeout :
mysql> SHOW  VARIABLES  LIKE  'wait_timeout'
mysql> set global wait_timeout = 600 # 10 minute or maximum wait time out you need  

1 comment:

dealstoall .com said...

Hi Saurabh thanks for creating a blog for SQL error codes. It will be very helpful for all resources who are looking for SQL codes and their description.