I need help connecting my databases for a Joomla installation

Asked by:
sandy2080 / 13 Points
Time:
2013-08-08 6:04 am EST
Category:
Databases
Hits:
1,118
Hi,

I have been trying to connect my new database to Joomla, but it fails.
I am using the database username, psw and your host name. This is not going thru

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

To submit an answer, please login.

ANSWERS

0

johnpaulb-whh2
Staff
12,339 Points
2013-08-08 6:29 pm EST
Hello sandy2080,

Thank you for your question. When you are connecting to a database in Joomla, make sure you have created a database user first, then added them to the database.

The host name should be 'localhost' unless you are connecting remotely to this server, in which case you would use the domain name.

Then edit the following lines in the configuration.php file:

// database username goes here
public $user = 'database-username';
// database password goes here
public $password = 'database-password';
// database server name
public $host = 'localhost';


If you are performing a new installation, I recommend using Softaculous, as it simplifies the steps.

Also, if you are moving a site to us, here is a helpful walk-through guide on migrating an existing site.

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul

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.
}