mysql - has exceeded the 'max_user_connections' resource

时间:2017-05-16 09:19:19

标签: php mysql web host

I have a Bootstrap system that hosted on Hostinger web host.

The program that I sign to is premium account.

today we tried to use 20 users in parallel, and suddenly, all of the user got error message - "User 'u526475971_alber' has exceeded the 'max_user_connections' resource (current value: 3)"

I don't have a lot of privilege, and I don't know if I can change max_user_connections.

What can I do?

Does close con will help?

Thanks!

1 个答案:

答案 0 :(得分:0)

我刚刚去了phpmyadmin,并且没有选择任何数据库,我只运行了这段代码并解决了我的问题,因为它为所有数据库和用户更新了max_user_connections。

有关详细信息,您可以访问此链接:(https://dba.stackexchange.com/questions/47131/how-to-get-rid-of-maximum-user-connections-error

UPDATE mysql.user SET max_user_connections = 0