Hi, I just tried to visit my site and got the following error:
Warning: mysql_connect(): Too many connections in /home/httpd/vhosts/workincairns.com/httpdocs/connect.php on line 2 Too many connections
Can ANYONE please tell me whats happenned and how to fix it ?
http://www.workincairns.com
Have your host look into that. They need to reset some things with your MySQL daemon.
I take it this error can only be corrected by my hosting provider.
And its just a waiting game, Can i fix it from PHP myadmin ?
I guess I learnt a valuable lesson from this : To always close the database connection when doing a database query.
🙁
My site is back up online...
I just got an email from my host saying:
Thanks for letting us know. I have fixed the problem. Please let me know if you see this occurring again.
Maybe it wasnt my fault ?
Depends on how many other people are using the DBMS and whether they're closing their connections.