slipperyfish Posted February 7, 2006 Share Posted February 7, 2006 Hey all, im a little confused as to what this error message is, im new to MySQL and a little unaware of error messages.Warning: mysql_connect(): Too many connections in /home/fhlinux218/s/shoutbox.newbiestyle.co.uk/user/htdocs/database/setUp.php on line 2I understand quite obviouslly there's too many connections, but why, or where?My website is really new and i very much doubt that it's bandwith problems, plus i think my database hosting is unlimited bandwith.Please help. Cheers. Quote Link to comment https://forums.phpfreaks.com/topic/3351-mysql-error/ Share on other sites More sharing options...
fenway Posted February 8, 2006 Share Posted February 8, 2006 This is usually caused by a combination of (a) a long timeout on PHP scripts that end up "sleeping" and (b) persistent connections that are never closed. It's unlikely that the default value of 100 is too small, given what you describe. Quote Link to comment https://forums.phpfreaks.com/topic/3351-mysql-error/#findComment-11459 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.