• The wp-config.php file reads:

    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    That leaves 1% chance that I will need to change this value. What are the circumstances for that 1%?

Viewing 3 replies - 1 through 3 (of 3 total)
  • if you understand what localhost is, the answer to your question is self-evident. localhost means “the same machine”, so a remotely hosted MySQL server wouldnt be localhost, because it would not be the same machine.

    godaddy, for instance, uses dedicated MySQL boxes and, therefore localhost is not the correct option for that setting.

    Thread Starter boydyboy

    (@boydyboy)

    MySQL database set-up question:

    I want to run the WordPress installation script. But:

    I get an error message which has a troubleshooting list. I complied with everything on the list, but still I cannot run the WordPress installation script

    Without knowing the error, we can’t help you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘localhost or not localhost?’ is closed to new replies.