Wordpress showing database connection error

Discussion in 'WordPress' started by pankajdeoria, May 17, 2011.

  1. #1
    I am currently having 20+ small websites with 1 comparatively large website in one shared account in HG. Sometime it is showing database connection error for few seconds and due to this, my all other websites are showing the same error at same time.

    What may be the reason? Any idea? If there is some problem with one website either due to traffic or plugins, I think it should not affect other websites in same account.
     
    pankajdeoria, May 17, 2011 IP
  2. amitgwb

    amitgwb Peon

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I also faced the same problem on one of my blog but the problem disappeared when I shifted the site to other server. Probably its a server error. Try to run the site on localhost or other server and see if error occurs.
     
    amitgwb, May 17, 2011 IP
  3. pankajdeoria

    pankajdeoria Banned

    Messages:
    314
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    125
    #3
    Thank you for your reply. Earlier it was ok but from last 1-2 month, I am getting this problem..
     
    pankajdeoria, May 17, 2011 IP
  4. wpredesign

    wpredesign Member

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    #4
    How about your blog traffic?
    if your traffic and CPU usage exceeded the Shared hosting limit then Go for Dedicated Hosting...
     
    wpredesign, May 17, 2011 IP
  5. qlogixsolutions

    qlogixsolutions Member

    Messages:
    130
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #5
    It might be because of the hosting account limit. I would strongly recommended you to change your hosting from shared hosting to a VPS or a good quality shared hosting. Now a days I find ur blog inaccessible or damn slow most of the time.
     
    qlogixsolutions, May 17, 2011 IP
  6. rohitink

    rohitink Active Member

    Messages:
    370
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #6
    I am Also on HostGator, But never faced this problem. Please check CPU usage on right of your cPanel, whenever you face error.
     
    rohitink, May 18, 2011 IP