Hi, crazy - if you search Google for “Description: MySQL server has gone away” you’ll get a lot of great posts - including this one which outilnes common and uncommon explanations.
What version and build of ExpressionEngine do you happen to be on?
Thanks for the info. But very overwhelming! Not for the novice MySQL-er.
I have similar problems. The site: http://focusfusion.org - Very slow site upload, intermittent page loading, but often the message:
MySQL ERROR:
Error Number: 2013
Description: Lost connection to MySQL server during query
Query: SELECT * FROM exp_member_groups WHERE group_id = ‘3’
And sometimes:
Database Error: Unable to connect to your database. Your database appears to be turned off or the database connection settings in your config file are not correct. Please contact your hosting provider if the problem persists.
And sometimes:
504 Gateway Time-out
nginx
And sometimes the pages show up. Sometimes the same page that got an error message before. Intermittent, as I said, but uniformly SLOW.
Steps I took:
I told the host. They’re looking into it.
Optimized in phpmyadmin and in ee.
Changed my password.
QUESTIONS:
Where exactly do I make sure that the connection settings are OK? They seem OK in the config.php file - and I assume that this info is correct because, as mentioned, various pages do show up once in a while. Most of the trouble is with the forum pages. The gallery shows up fine.
MOST IMPORTANT QUESTION:
Re: updating to current version of EE. This site is still running on 1.4.2. Ancient. Given the database problems I’m having, is it a good idea to upgrade right now, without resolving the database problems and seeing if it that will fix the slowness?