• Hi all,

    I’ve been following the steps to install wordpress on my names.co.uk domain. I’ve created the user and the database and changed the wp-config file and renamed it but the first time I got the host name wrong.

    My issue is that every time i update the file it does not change for the message that appears when i navigate to wp-admin/install.php:

    ‘Error establishing a database connection. This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at mysql6.namesco.net. This could mean your host’s database server is down.’

    The name of the server is not updating. I think causing the ‘Error establishing database connection’.

    Any ideas?

    Thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator James Huff

    (@macmanx)

    Are you saying that when you re-open the wp-config.php file, the host is still the old one?

    So you updated the database host from:

    define('DB_HOST', 'mysql6.namesco.net');

    …to something else, but the error message is still the same?

    Make sure there is not another line in that file that still points to mysql6.namesco.net, and of course make sure you’re uploading the wp-config.php file to the correct directory.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WP-CONFIG Not updating with host name’ is closed to new replies.