New Joomla installation can't connect to database

Asked by:
kwilder / 15 Points
2012-01-23 5:15 pm EST
<div>Could not connect to the database. Connector returned number: 2 Have checked SQL name &amp; passwords - all correct. Using localhost in Joomla install box. Username: using database username with root given to me via hub. Made username dbuser1 with all privilege access -- in this case userna5_dbuser1 (is this correct formatting? tried just dbuser1. no go). Password: used random generator so should be correct. Database Name: using this format: userna5_database1</div>

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

To submit an answer, please login.

Best answer chosen by Web Hosting Hub staff


13,688 Points
2012-01-23 5:24 pm EST
Hello kwilder,

I'm sorry you're having trouble with your manual installation of Joomla. While researching this for you, I found that your database users have not been assigned to any of your databases. In order to connect to the database, the user will first need to be assigned to the database you want to connect to. Please see steps 6 through 7 in our How to Create and Assign a User to a Database article for step-by-step instructions.

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


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!

Help Center Search

Current Customers

Email: 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.