Limited Time Offer - from ₹49.00/month
00
DAYS
10
HOURS
44
MINUTES
44
SECONDS
Get Started
×

Hostinger's Knowledge Base

Find articles and information about features, various troubleshooting guides,
and other technical information related to the Hostinger's services

I get 'User xxx already has more than max user connections' message

Modified on:
max_user_connections max connections connections database connections user already has more active connections

If you get 'User XXX already has more than max_user_connections active connections' or similar error message, it means your script is not optimized and makes too many connections to the database (or your website is very active, has many users online at the same time).

You may want to run mysql_reconnect command before each query in this case. Also, you can try adding command mysql_close() at the end of your script to close all open connections.

  • Easy Website Builder
  • 99.9% Uptime Guarantee
  • 24/7 Live Support
  • Powerful Control Panel
  • 30-Days Money-Back Guarantee
Limited Time Special Offer!
From
49
00
/mo
Save 90%
Get started