Migrated Wordpress site not accessible

Avatar
  • Answered
I migrated a Wordpress site from another host using InMotion's tutorial (https://www.inmotionhosting.com/support/edu/wordpress/migrating-wordpress-inmotion-hosting). After completing all the steps, I tried to visit the site and get the following error: Error establishing a database connection

I checked the database and it appears to have imported correctly. My domain is pointed to InMotion's DNS servers correctly (verified by pinging the domain name). The domain is an add-on domain and it is pointed to the correct directory. I checked the database and can see the correct data.

Can someone throw out some ideas about what may be happening?
Avatar
Scott
Hello herrera,

Thank you for your question on your WordPress migration configuration. If you are still getting the database connection error, then you want to doublecheck all the credentials, including the database name, username, password, and host.

Kindest Regards,
Scott M
Avatar
Scott
Hello,

That particular error means that there is something incorrect in the database settings. It could be an incorrect username, password, database name, or host name. You will want to look at them very carefully in your wp-config.php for any typos. In your case, pay particular attention to the DB_NAME setting.

Kindest Regards,
Scott M