lak Posted November 12, 2007 Share Posted November 12, 2007 Warning: mysql_connect() [function.mysql-connect]: Too many connections in /usr/local/share/doc/vhost/jayam-designs.com/httpdocs/exchange/projINSERT.php on line 197Could not connect: Too many connectionswhat to do for that, is there any one Link to comment Share on other sites More sharing options...
Synook Posted November 12, 2007 Share Posted November 12, 2007 Well... how many connections did you try to open?There is mysql_close($con_name) if you need to close a connection (but why not just use the same one?). Link to comment Share on other sites More sharing options...
justsomeguy Posted November 13, 2007 Share Posted November 13, 2007 If that happens on one page then remove all excess calls to mysql_connect, you only need one. If that happens occasionally on a live online application then you'll want to increase the connection limit for the MySQL server. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.