MySQL max_user_connections

Posted by Sheriffen on Server Fault See other posts from Server Fault or by Sheriffen
Published on 2010-05-16T22:44:32Z Indexed on 2010/05/16 22:50 UTC
Read the original article Hit count: 126

Filed under:
|
|
|

We're releasing a site in a couple of weeks that has been developed on a local machine but now when were testing on dev server we get

MySQL error 'max_user_connections'.

We have talked to the host company (biggest in sweden) and they say that we don't close our connections properly. But the thing is that we user the EXACT same code on another host where it works. And I also added

echo "closed"; 

in the database_close function so that now in the very bottom of very page there is "closed". To me this means that we do close the connection, anyone got any idea of what could be wrong? We connect through the PHP PDO function and closes it by setting it to 'null', all according to the manual.

© Server Fault or respective owner

Related posts about mysql

Related posts about php