用户cscredu_user已经有超过"max_user_connections"个活动连接。此错误的实际原因是什么?我该如何解决这个问题?
max_user_connections
:帐户同时连接到服务器的数量。
您可以通过下一个sql找到该数字:
SELECT max_user_connections FROM mysql.user
WHERE user='your_username' AND host='your_access_host';
如果要无限制,只需执行下一个sql,设置为0
:
GRANT USAGE ON *.* TO your_username@your_access_host WITH MAX_USER_CONNECTIONS 0;