Back to Forums








View Full Version : database connection error


rohitk89
January 25th, 2005, 14:17 PM
why do i keep getting this message? it happens almost every night close to 8.00pm IST
---
Warning: mysql_connect(): Too many connections in /home/vhosts/rohit.bizhat.com/forums/db/mysql4.php on line 48

Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource in /home/vhosts/rohit.bizhat.com/forums/db/mysql4.php on line 330

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /home/vhosts/rohit.bizhat.com/forums/db/mysql4.php on line 331
phpBB : Critical Error

Could not connect to the database
---
help needed, as usual...:D

petard
January 25th, 2005, 14:41 PM
Restart the mySQL server process - that should "flush" the connections. However, that only cures the symptom. I'm guessing you have a script or something that doesn't close the connection the my mysql server after query results are returned.

rohitk89
January 25th, 2005, 16:54 PM
thanks petard..though i dont think i have ne other scripts excepting wat came wid da default phpbb package...