logo

Black Friday
Sale

  •  99.9% Uptime
  •  Free SSL Certificate
  •  24/7 Live Support
  •  30-Days Money-Back Guarantee
Get Started

Up To

90

%

OFF

04
DAYS
20
HOURS
38
MINUTES
25
SECONDS
Black Friday Sale: Web Hosting
From $0.80 /Month!
See All Deals
×

Knowledge base

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

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.