InMotion Hosting Support Center

Error with making a database connection after migration

Category: Wordpress

2014-07-25 12:58 am EST

Hits: 77
I lost my wordpress site during the migration but lucky i had an archive backup. I have tried setting up the site again but i am getting 'Error establishing a database connection' on both ends ( admin & front end) what am i missing?
my installation was at and wanted to move the site to root folder as

Any help will be appreciated

You must login before you can ask a follow up question.

You must login before you can submit an answer.



30,637 Points
2014-07-25 9:07 am EST
Hello rsirengo,

Thank you for your question. I recommend following our full walk-through guide on How to Move a Wordpress site from a subfolder to the root directory.

It shows you step-by-step how to successfully migrate Wordpress to another folder.

If you have any further questions, feel free to post them below.
Thank you,


You must login before you can post a comment about this answer.

Like this Question?

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!