MyBB Community Forums

Full Version: Error 2006
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
2006 - MySQL server has gone away
Query:
SELECT filter, fid FROM mybb_banfilters WHERE type='2'
Please contact the MyBB Group for support.




The fix?
Thank you!
If you have access to the server resources I recommend restarting MySQL, often this fixes this sort of problem. Did it take quite some time before the error appeared? Then it's probably a timeout.

Other causes for this problem can be found here: http://dev.mysql.com/doc/refman/5.0/en/gone-away.html
Yes, after registration, about 20 seconds, then got the error.
Can you restart the MySQL server? Are you on shared hosting or not? Was there a lot of information to process? (Is it a big database?)
I have shared hosting by the way, so I presume I don't have SQL access.
Yes you won't have access to the resources then. Hmm was there a lot of information to process? (Is it a big database?)
11k posts, 300 members. (Roughly)
And apparently it's been happening for a few days, before it was reported.
(I don't test registrations often Toungue)
The MySQL configuration should be tweaked. Max_allowed_packet should be set to a higher value (http://bogdan.org.ua/2008/12/25/how-to-f...-2006.html). Anyway the issue is not related to MyBB, but to your hosting. You should try contacting your host for support about this issue.

I assume it's not about codmedia.net? I just tried registering and it worked there.
Just talked to my host, stated it'd take about 20 minutes to work on.
Does that sound normal?

Yea, it was restarted, still failing though.
Did you tell them about the 2006 MySQL error? It's most likely the second thing I said since restarting didn't work. The max_allowed_packet.