SUMMER SALE - 80% OFF!
HURRY UP, LIMITED TIME OFFER IS TICKING DOWN
00
DAYS
06
HOURS
56
MINUTES
18
SECONDS

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.

  • Unlimited Number of Websites
  • 24/7 Live Support
  • Easy Website Builder
  • 2X WordPress Optimized Speed
  • 30-Days Money-Back Guarantee
Grab the limited time deal!
$ 3
49
/mo
$26.52
$10.47 for 3 months
Save 61%
Get started