• Resolved chazlin

    (@chazlin)


    Not knowing much about how WordPress works, I screwed up. I went into Godaddy’s MySQL admin and changed the password, as I had not been able to get in with what it “should” have been. I didn’t think about it, but now when I go to my blog page or to the admin page I get “Error establishing a database connection” and nothing else.

    I don’t remember what the old password was. I also had begun a backup of the database. How can I get my blog back up?

Viewing 3 replies - 1 through 3 (of 3 total)
  • If you changed the Database password you can edit the wp-config.php file and edit the line

    define('DB_PASSWORD', 'your old password'); // ...and password

    to

    define('DB_PASSWORD', 'your new password'); // ...and password

    Thread Starter chazlin

    (@chazlin)

    That did it. Thank you… Saved my bacon!

    I did the same thing – changed the password to my database and now I can’t get in. Where do you go to edit the wp-config.php file if you are using godaddy?

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