wordpress- Database connection error-Any help ?

Discussion in 'Site & Server Administration' started by z80039, Mar 12, 2008.

  1. #1
    Hi ,
    I have recently moved my site to a dedicated server because of the tons of peopla who are online at the same time. It was ok when they were up to 400-450 ppl on the chatango chat on the page but recently I am receiving the following error alot even when they are not many ppl online ( 280 ). Database connection error while trying to access the admin area or sometimes while trying to view a post on Wordpress. Any help ? The database info are correct in the wp-config... Any idea ?

    Thanks
     
    z80039, Mar 12, 2008 IP
  2. hycari

    hycari Peon

    Messages:
    228
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Hi!

    What's the exact error? Maybe the MySQL concurrent connections is set too low. I'd love to help, but I need a bit more information.
     
    hycari, Mar 12, 2008 IP
  3. z80039

    z80039 Well-Known Member

    Messages:
    517
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    130
    #3
    Hi ,
    Thanks for trying to help me out. I think it was "Error establishing a database connection" or something like that. I need to wait untill there is alot of ppl on the site to be more precise. Please contact me on the pm and I will provide u with the info u want.

    Thanks again
     
    z80039, Mar 13, 2008 IP
  4. sachin410

    sachin410 Illustrious Member

    Messages:
    6,422
    Likes Received:
    573
    Best Answers:
    0
    Trophy Points:
    410
    #4
    I had a similar problem with few of my sites.

    The problem was that the servers were not good enough for my sites.

    I have changed my host and no longer have any "database connection" problems.

    I am surprised that you are having such problems with a dedicated server.
     
    sachin410, Mar 13, 2008 IP
  5. z80039

    z80039 Well-Known Member

    Messages:
    517
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    130
    #5
    I am using Hostgator dedicated server ( basic ). I was wondering if it maybe a memory issue or something like that.
     
    z80039, Mar 13, 2008 IP
  6. gate2vn

    gate2vn Peon

    Messages:
    809
    Likes Received:
    33
    Best Answers:
    1
    Trophy Points:
    0
    #6
    HG basic dedicated server is old and has 1GB RAM only. I am not sure how about your script, but 400 concurrent connections require much bigger servers. Have you tried to optimize your apache, php and mysql yet?
     
    gate2vn, Mar 13, 2008 IP