Support » Fixing WordPress » Error establishing a database connection

  • WP asked to update the Database, which I did, but now I can no longer log in to WP (I get the infamous Error establishing a database connection message). I already contacted DoDaddy to see if the hosted MySql server is working properly or not.
    I have tried updating the wp-config.php but the problem persists.
    I reinstalled WordPress through my hosting control panel in GoDaddy, all to no avail.
    Now even the site is no longer online…
    I’m no programmer, so not sure what I must do to solve this.

    Thanks in advance for your help!

Viewing 4 replies - 1 through 4 (of 4 total)
  • It sounds like something is still not right within your wp-config.php file. Make sure to refresh your authentication files, and triple check your DB name, username and password.

    To MDsimone

    Hey I have the exact same issue (mymergemusic.com/wp) After infinity Checking username and password for the Database info in the wp-config.php file, I decided to go the source, the GoDaddy Starfield phpMyAdmin.

    I got error message refuses to log me in even though I am a gilllion% certain its the right pw, I even reset the pw still fails. Check yours the issue maybe the same.

    I’m writing godaddy for an answer or a way to speak with starfield as Godaddy is notorious for “We don’t provide support for software we offer cuz w’re too cool with our Danika Patrick Commercials”

    Error
    #1045 – Access denied for user ‘mym1313712444078’@’72.167.233.37’ (using password: YES)

    Hey WP Forum Admins should I provide a follow up on a solution as its not really a wordpress issue but a Godaddy/Webhost issue?

    imergeandsee,
    Your problem is not the same. Please start your own thread.
    http://wordpress.org/support/forum/how-to-and-troubleshooting#postform

    Krishna – you rushed to judgement, I wasn’t trying to Hijack the thread, and perhaps my typo using ‘have’ vs. ‘had’ contributed to you thinking that, I guess ‘Grammar is to Comprehension is what Syntax is to coding’. With that said.

    I was trying to point out a possible solution to MDSimone’s problem not post a question for myself.
    So I’ll resay it with my typo corrected.

    MDSione – I HAD the same problem and received the exact same “infamous Error establishing a database connection message

    I solved it by double checking down to everything but the salts that DB info in the ‘wp-config’ is correct. And when I did that I then got the error message above (the 1045). As I cant wait 48hrs fro a Godaddy answer, I then made a new WordPress Self-hosted install, then re-imported my last back up of the site, and then edited the WP-Config DB info to go to THAT database. Site is now up. I lost about 2 days worth of changes that I had not exported to my external DB. But glad to have the site back up.

    All the Best

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