What is the hostname for a Wordpress database

Asked by:
sandy2080 / 13 Points
Time:
2013-09-14 8:27 pm EST
Category:
Databases
Hits:
994
Hi,

I am trying to install wordpress to a sub domain I just created.
I created a new database, username and psw. then, I connected the usermame to the corresponding database.
I am getting "Error establishing a database connection"
I am not sure what Database host I should use? Thanks in advance!

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-09-16 5:07 pm EST
Hello sandy2080,

Thank you for your question. If you are connecting to a database within your account, the hostname you should use is:
localhost

If you are connecting to a remote database (one hosted on another server), you would use the domain name. For example:
domain.com

If you are having trouble installing Wordpress manually, I recommend using Softaculous to install Wordpress, since it is a simple one-click installation.

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.

thank you,
I will have a look at Softaculous.

regards,
sandy2080
13 Points

2013-09-16 5:29 pm EST
Want to share this Question?
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.
}