If you have time, you can read the article "MySQL server has gone away". OR just do 3 steps as the following:
1. Find my.ini file if you are using Windows (it can locate in C:\ProgramData\MySQL\MySQL Server 5.5\). OR my.cnf file if you are using Linux (it can locate in /etc/mysql/my.cnf)
2. Increase max_allowed_packet value below [mysqld] section (by default max_allowed_packet =1M or not defined), for example you change it to 32M:
[mysqld]
max_allowed_packet=32M
3. Restart mysql service
Showing posts with label error code 2006. Show all posts
Showing posts with label error code 2006. Show all posts
Tuesday, August 6, 2013
Subscribe to:
Posts (Atom)