InMotion Hosting Support Center

Error establishing a database connection

Category: Wordpress

2014-07-25 12:58 am EST

Hits: 38
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.



18,906 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?

Support Center Login

Social Media Login

Social Login Joomla

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Ask a 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!