Knowledge Base Article

I'm getting a "MySQL server has gone away" error in my application

This error usually shows when your application tries to execute slow and heavy MySQL queries.

 

Since our  servers are optimized for best security while maintaining top overall performance for all websites hosted on them, our MySQL server limits such queries to prevent server overloads.


If you are on a shared server, the best solution would be to optimize your database for the queries which fail.

 

Alternatively, you can upgrade your account to a VPS or a dedicated server, where the MySQL server settings can be changed according to your website's requirements.


______________

Find expert web hosting services at SiteGround.com: secure web servers, cPanel, Fantastico, PHP, MySQL, FTP, web hosting tutorials, and more.


Rating

Please indicate if this article was helpful for you.

rating :  1.0 from 5
views :  100
votes :  5

Valid XHTML 1.0 Strict Valid CSS!