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

Category: Wordpress

markwj
Asked:
2012-12-24 9:01 pm

Hits: 307
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.

OTHER ANSWERS

0

JacobIMH
2012-12-24 9:38 pm
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?

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)
Ask a Question!
Recent Questions
  1. Cpanel license is expired
  2. How do I provide a truly secure FTP site for my client to upload files with sensitive data (PHI - Personal Health Information, as referred to by HIPAA)?
  3. styles are not rendering on initial page load

Need 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

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!