InMotion Hosting Support Center

Database connection error during magento install, help!

Category: Magento

2012-05-11 12:09 pm EST

Hits: 21,559
Intalling magento v.

Followed the guide for the installation.

Entered the proper database / user / password on MySQL Databases.. Give the proper permissions to the user.

I uploaded magento/sample data to the database.

Went to and followed the walk-through, I got a "Database connection error." My current setting were: local host, user, password.

How can i configure my database? make sure the local host is the correct host?

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


1,344 Points
2012-05-11 12:25 pm EST
Hello jasonotr,

I'm sorry you're having trouble installing Magento. I would caution that Magento is not compatible with our shared hosting plans. If you would like to run Magento on your site, we recommend upgrading to at least a <a href="">VPS plan</a>.

If you are seeing a database connection error, that is due to one of the following:
<li>Incorrect host name (should be localhost)</li>
<li>Incorrect database name (should look something similar to userna5_dbname)</li>
<li>Incorrect database user (should look something similar to userna5_dbuser)</li>
<li>Incorrect password (make sure you use the password you assigend to the user when you created the database and database user)</li></ol>
For step-by-step instructions, please see our article on <a href="">How to install Magento</a>

Please let us know if you have any additional questions or need further assistance.


Christi N.

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

Like this 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!