Server error

Discussion in 'Site & Server Administration' started by shahab6, Apr 2, 2006.

  1. #1
    For some reason when I go to my website I get this error,
    What does this mean?

    DBI connect('mysql:localhost','root',...) failed: Too many connections at /usr/local/cpanel/Cpanel/Mysql.pm line 40 Can't call method "prepare" on an undefined value at /usr/local/cpanel/Cpanel/Mysql.pm line 502.
     
    shahab6, Apr 2, 2006 IP
  2. sacx13

    sacx13 Active Member

    Messages:
    438
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    58
    #2
    Because your connection "pool" of mysql connections is exhausted. If you are admin there try to increase the number of connections for mysql database or look in your program and look after a connection "leak"

    Regards
     
    sacx13, Apr 3, 2006 IP