InMotion Hosting Support Center

What is the MySQL hostname for the wp-config.php entry

Category: Wordpress

2012-12-24 5:01 pm EST

Hits: 5,418
This is the /** MySQL hostname */
define('DB_HOST', 'localhost/markja5_LoveFood');

I have add the above localhost syntax is this correct?

You must login before you can ask a follow up question.

You must login before you can submit an answer.



9,968 Points
2012-12-24 5:38 pm EST
Hello markwj, and thanks for your question.

You only need to add the MySQL hostname of localhost for that DB_HOST variable. There are 4 places in total where you will need to configure the WordPress database settings, and there is a separate DB_NAME variable that you need to set for your database name.

You can take a look at our article on configuring WordPress to see the wp-config.php settings that are needed.

Please let us know if you have any other questions!

- Jacob

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

Like this Question?

Support Center Login

Social Media Login

Social Login Joomla

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!
Ask a 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!