• Resolved tminneci

    (@tminneci)


    I received an email from Dreamhost on 1/20 indicating they were moving my account to a new server. A day later my website was in accessible and when I try to access the wp-admin page, I receive “Error establishing a database connection.”

    The website is timminneci.com, which indicates “Error establishing a database connection.”

    Anyone have this issue?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Have you looked at your wp-config.php file to make sure that the database connection is ok?

    Can you login to your Dreamhost account and click on the phpMyadmin panel in your account. If you can access your phpMyAdmin account and see the database, then the mySQL server is fine and so is your database, thus the error is in your wp-config.php file.

    I would also submit DH a support ticket. Their customer service is very good.

    since they moved your site to new server so in your dreamhost panel create a new databse user with the same name and password in your config file so that your new server can access the database .

    Mika Epstein

    (@ipstenu-dh)

    DreamHost Rep

    Everything, DB and files, should have moved together, so while techonda’s advice is correct, it shouldn’t be needed. I took a look at your website, and your wp-config.php was pointing to a very old dreamhost.com server (vs pointing to your database server, which is listed here on your panel – https://panel.dreamhost.com/index.cgi?tree=goodies.mysql& )

    I went ahead and changed the DB server name in your wp-config.php for you, and you’re up and running now 🙂 I left the old one commented out so you could see what happened.

    Thread Starter tminneci

    (@tminneci)

    Fixed, thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Dreamhost updated servers, database connection lost’ is closed to new replies.