Support » Fixing WordPress » Moving WP to Host: Error Establishing a Database Connection

  • Resolved IronMac


    Hi everyone,

    Everything looked like it was going pretty well and now I’ve hit this problem. I seem to have transferred everything over properly to my new domain from where my blog was hosted at which is on my own Mac.

    Problem begins when I hit the Login button on my blog and it points me to There it gives me the “Error Establishing a Database Connection” message. In fact, hitting any of the links on the site gives me that error. I’ve asked my host (A Small Orange) for assist but the best they can give me now is:

    “That url could be in the database itself, I didn’t see any reference to it in the files. You’ll need to use phpMyAdmin to edit the url directly in the database.”

    Which is way over my head…

    Any assist would be greatly appreciated…thanks! 🙂

Viewing 4 replies - 1 through 4 (of 4 total)
  • For future reference, next time look over Moving_WordPress before starting.

    For current reference, you’ll want to update the URI values in the database to properly point to the new location. The manual/”oops-I-Broke-it-Method” can be found in this little tutorial:

    On a final note: If you make a post here and it doesn’t show up right away, just patiently wait for a moderator to release it from the spam traps instead of loading the traps up with 6 more copies 😉 Thanks!

    I’m sorry about that! Thought that I wasn’t being allowed to post for some reason. I’ll give the URI values a check. Thanks!

    Heyyyy!!! I got it done!!! Thanks HandySolo!

    I did follow the Moving_WordPress in the Codex but the URI values in the database was where I went totally wrong! Didn’t even know about that… 🙁

    Onwards and upwards now! 🙂

    Awesome, glad to hear it. Happy blogging!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Moving WP to Host: Error Establishing a Database Connection’ is closed to new replies.