Error with making a database connection after migration

  • Answered
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
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, -John-Paul