Knowledge base

Find articles about information features, troubleshooting guides,
and other technical information related to the hosting service Hostinger.

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!

  • Easy Website Builder
  • 99.9% Uptime Guarantee
  • 24/7 Live Support
  • Powerful Control Panel
  • 30-Days Money-Back Guarantee
Grab the limited time deal!
From
¥
215
00
/mo
Save 82%
Get started