Support » Fixing WordPress » "Error establishing a database connection"

  • when I visit my site at http://parr.org, I get the following error

    Error establishing a database connection

    …and nothing else.

    The site has been running for years with this setup and was running fine within the last week and I’m not aware of any changes to the system. The site is on Dreamhost.

    I can check the database on Dreamhost, but I’m not sure what the database is for this site. Is there are file where that information is stored on the system? Any other thoughts for troubleshooting this issue?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Mika Epstein

    (@ipstenu-dh)

    DreamHost Rep

    It’s in your wp-config.php

    You were pointing your DB_HOST to beta.parr.org and not not parr.org. I changed it for you and it’s working now 🙂

    Thread Starter barryparr

    (@barryparr)

    Small world. Glad I mentioned where I was hosting.

    Thanks, Dreamhost!

    Mika Epstein

    (@ipstenu-dh)

    DreamHost Rep

    I get email alerts for DreamHost mentions in posts just so I can help with things like this 😀

    I’m having this some issue as well I believe. I just got started with all of this, and it was working for a while and now…I get the ‘Error establishing a database connection’ message.

    DreamHost help….

    @pathofwrath: As per the Forum Welcome, please post your own topic. Posting in an existing topic prevents us from being able to track issues by topic. Added to which, your problem – despite any similarity in symptoms – is likely to be completely different.

    I am having the same issue.

    helpbuildchampions.com

    Using Dreamhost and wordpress. Very frustrating.

    I think I have my wp-config.php file correct but I am also new to wordpress.org

    PLEASE HELP. So frustrating

    @amiddles, I fixed up your site for you, you had the wrong wordpress database user and password listed in your wp-config.php file. Feel free to send issues to support@dreamhost.com anytime. Have a good day 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘"Error establishing a database connection"’ is closed to new replies.