Limited Time Offer - from RM2.99/month
00
DAYS
18
HOURS
21
MINUTES
06
SECONDS
Get Started
×

Knowledge base

Find information within our custom articles about Hostinger's features
and all information relating to hosting practices.

MySQL Server has gone away

Modified on:
mysql server has gone away gone away slow mysql sqlserver mysql away phpserver php server

If you see the error message 'MySQL Server has gone away', it is possible that your script is not fully optimized and makes too many connections to the database. It may also happen due to excessive amounts of traffic. 
Another probable cause for this issue may be heavy or slow MySQL queries.

In either case, in order to solve this problem, you should check if your database is well optimized and has indexes set up correctly. If you are using a 3rd party script, you should definitely try contacting script developers and ask them for assistance on this matter!

  • Free Website Builder
  • 99.9% Uptime Guarantee
  • 24/7 Live Support
  • Powerful Control Panel
  • 30-Days Money-Back Guarantee
Limited Time Special Offer!
From
RM
2
99
/mo
Save 90%
Let's go!