• Resolved punto55

    (@punto55)


    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?

    <?php
    // ** 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

Viewing 1 replies (of 1 total)
  • 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. 🙂

Viewing 1 replies (of 1 total)
  • The topic ‘Error establishing a database connection’ is closed to new replies.