Ready to get started?Download WordPress


[resolved] Error establishing a database connection (2 posts)

  1. punto55
    Posted 8 years ago #

    How do I replace the information in the wp-config.php file? Is it not ok to replace 'DB_NAME' with 'mysql07.cliche.dk' for eksample?

    // ** MySQL settings ** //
    define('DB_NAME', 'wordpress'); // The name of the database
    define('DB_USER', 'username'); // Your MySQL username
    define('DB_PASSWORD', 'password'); // ...and password
    define('DB_HOST', 'localhost'); // 99% chance you won't need to change this value

  2. monkeypup
    Posted 8 years ago #

    you should only replace the 'wordpress', not the DB_NAME. The DB_NAME, DB_USER, etc, should not be touched. Just the words to the right of them in ''s. For example:

    'DB_NAME', 'mysql07.cliche.dk', rather than 'mysql07.cliche.dk', 'wordpress'

    Unless I am misunderstanding you. In which case, ignore all that. :)

Topic Closed

This topic has been closed to new replies.

About this Topic