This Zen Cart tutorial deals with the error message which reads ‘MySQL server has gone away’. It occurs when zen cart attempts to retrieve information from it’s database, and the connection between Zen Cart and Mysql is unexpectedly terminated. The effects of this error message can range from being annoying, but somewhat benign, to being quite severe. As a general rule, you should address this issue as soon as possible in case the problem is serious. One example of this is if it turns out that the error message is showing because your database/s have been deleted.
There are several things that can cause the termination of zen cart’s communications with MySql, and trigger this error message. One of these is simply that another slow connection to external systems is being executed at the same time as your request. In this case, all you have to do is try again later. Another possibility is that your webserver is running slowly. This can happen if you have a lot of spam stored, or if your web hosting company has placed you on a server which is running too many other websites at once.
It is also possible that your hosting company may have configured your server so that database connections expire very quickly. It is common for web hosts to allow connections to remain open for thirty seconds or more. This varies from one host to another, and is heavily affected by factors such as the configuration of their other systems(I.e, PHP). You can contact your web hosting company to learn more about the configuration of your server. This information will either allow you to troubleshoot the issue yourself, or hand it off to them to see if they can fix it for you.