What is the MySQL hostname for the wp-config.php entry
Category: Wordpress
This is the /** MySQL hostname */
define('DB_HOST', 'localhost/markja5_LoveFood');
I have add the above localhost syntax is this correct?
define('DB_HOST', 'localhost/markja5_LoveFood');
I have add the above localhost syntax is this correct?
OTHER ANSWERS
|
0
|
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 |
Like this Question?
Tweet
Latest Questions
If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Recent QuestionsNeed more Help?
Search
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: | support@InMotionHosting.com |
|---|---|---|---|
| Call: | 888-321-HOST (4678) | Ticket: | Submit a Support Ticket |


