InMotion Hosting Support Center

WP error establishing connection to db

Category: Databases

2012-06-20 12:04 pm EST

Hits: 889
I know this question is probably asked a lot, but I can't figure out why my Wordpress site won't work after migrating it from my local, development server. I followed the instructions from inmotionhosting about migrating your site and the steps to take. I created a new db, user, pw and updated my wp-config.php file. Still, I receive this error. Help!

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

You must login before you can submit an answer.

Best answer chosen by User


43,761 Points
2012-06-20 12:31 pm EST
Hello accessgroup,

The error was a capitalization issue in the database name in the wp-config.php file. It had an upper case 'DB' and the database name on the server has a lowercase 'db'. I changed it to all lowercase to match the database name on the server and it now can connect properly.

I hope this answers your question. If you have any more questions or information specific to the issue please leave a comment below so we can further assist you.

Best Regards,
Scott M

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

Like this Question?

Forum Login

You are NOT logged in. You can still browse our Support Center.

To participate within our Community Support Forum:

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!