I have a local apache server for development, but the application accesses a remote mysql server.
I tried opening my app and it said: Warning: mysql_connect(): Too many connections in /myconnection/... on line 2
Could not connect to database
Then I tried logging on with the same username to that server with PHP MyAdmin and got this message:
Error: #1040 - Too many connections
Is this a general "too many connections" problem on my host provider, or is it from my own connections over the past months that have "built up"? And if the latter is the case how do I fix it?
[EDIT]I just tried connecting via OSX Terminal with my usual command: /usr/local/mysql/bin/mysql database -u username -h mysql.mysite.net -p.. and IT LET ME CONNECT NO PROBLEM. So then, I thought, hey maybe I can access the app or go to myadmin and still NOT![/EDIT]
[EDIT2]OK, I just tried querying from terminal and no luck. ALSO, I tried connecting to another database (is the word "daemon"??) with the same host and got the same error[/EDIT2]
Well, that was fun and we all had a jolly good time, I say!