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

More
5 years 8 months ago - 5 years 8 months ago #85960 by wemmons53
wemmons53 created the topic: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away
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: 5 years 8 months ago by wemmons53.

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!