Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

SQLSTATE[HY000]: General error: 2006 MySQL server has gone away 4 years 2 months ago #85960

  • wemmons53
  • wemmons53's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 1
  • Karma: 1
Just updated to 2.0 from 1.9.2 and had problems this the db update. Get the following error.
After retry a few times, finally worked. But also sometimes get this when using 2.0

SQLSTATE[HY000]: General error: 2006 MySQL server has gone away

Searched internet for the error and found several references for other programs.
Seems to be about the max_allowed_packet size not being large enough. It suggested following change.

[mysqld]
max_allowed_packet=16M

Has anyone got this error and know the fix?
Last Edit: 4 years 2 months ago by wemmons53.
The administrator has disabled public write access.
Time to create page: 0.228 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form