Results 1 to 3 of 3

Thread: database connection error

  1. #1
    Triple Platinum Member
    Join Date
    Aug 2004
    Posts
    805

    Exclamation database connection error

    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...

  2. #2
    Nobody knows I'm a dog. TZ Veteran petard's Avatar
    Join Date
    Feb 2003
    Location
    Newspapastan
    Posts
    964
    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.

    Many thanks to egghead for the cool .sig

  3. #3
    Triple Platinum Member
    Join Date
    Aug 2004
    Posts
    805
    thanks petard..though i dont think i have ne other scripts excepting wat came wid da default phpbb package...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •