New Year Offer 降价82%
00
10
49
39

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

引用:
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.

  • 不限制搭建网站个数
  • 24/7 在线支持
  • 简单易用的建站助手
  • 2倍的WordPress 优化速度
  • 30天退款保证
赶上限时优惠!
低至
8
55
CNH
/月
节省 82%
开始