Cannot connect to database

Asked by:
edan291 / 18 Points
Time:
2012-02-22 3:11 am EST
Category:
Databases
Hits:
3,007
I'm getting the following error:

Database connection error (3): Could not connect to database

Joomla / php installation.
The configuration.php file is correct with my details etc. No problems running it locally or with the other host (that I've just switched from!)

Have I missed something?

To ask this user for more information, please first login.

To submit an answer, please login.

Best answer chosen by Web Hosting Hub staff

0

ChristiNi
Staff
13,688 Points
2012-02-22 5:12 pm EST
Hello edan291,

I'm sorry you were having trouble installing Joomla. One of the more common issues people may have if they create the database and user separately (without going through the MySQL Database Wizard) is assigning the user to the database. I see that our Support Team was able to assist you with the error you were receiving, and once the database user was assigned to the database, you were able to connect Joomla to the database. If you have any issues connecting software to a database in the future, be sure to check out our article on troubleshooting database errors

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

Regards,

Christi N.

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}