max_user_connections or ip connection limit exceeded [closed]

醉酒当歌 提交于 2019-12-20 07:44:42

问题


I am getting following "PHP Error Message" :

User ** already has more than 'max_user_connections' active connections in /home/*//* on line 6 or

for my website www.**.com, and this error goes after reloading the page for 3-4 times. Earlier this error was not coming. So can somebody tell me whether this error relates to PHP or DB.

i am using freehosting like 1freehosting.com or 000webhost.com


回答1:


You receive max_user_connections message when the maximum number of users allowed to connect the server are already there.

Here are the links for your references
http://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html#sysvar_max_user_connections
http://dev.mysql.com/doc/refman/5.5/en/too-many-connections.html

You can either increase the number of connections allowed or
Instead of opening new connection for everyone. Why dont you use same connection for all queries.



来源:https://stackoverflow.com/questions/15106238/max-user-connections-or-ip-connection-limit-exceeded

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!