Error with making a database connection after migration

Avatar
  • 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 http://www.hdi.or.ke/trial and wanted to move the site to root folder as http://www.hdi.or.ke

Any help will be appreciated
Avatar
johnpaulb-imhs1
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