hey, i often get this error from my website... Warning: mysql_connect(): Too many connections in /home/www/(website address)/database.php on line 2
Too many connections
does any1 know a way of overcoming this? if there is a way?
i sometimes get it even when i first come on to the site, and i know no1 else is looking at it, it takes serveral mins until i can refresh and get the site displayed.
thanks
Warning: mysql_connect(): Too many connections
Moderator: General Moderators
Re: Warning: mysql_connect(): Too many connections
you need to allow more connections it was setting var. Make sure when you use mysql you need to close the connection.
Re: Warning: mysql_connect(): Too many connections
im not sure how to allow more connections, and i use a free mysql that comes with the free webserver im using online so not sure if i have the right permisions to do that anyway. ive added the close command to the bottom of a few of my pages, and everything seams to be ok, so i expect aslong as i add it to the rest of them it should run a little better. Thanks