• I’ve been trying to install wordpress on my server but I’m getting the error establishing a database connection message:

    I have triple-checked the wp-config.php file and the username, password and hostname are all correct. I’ve tried both ‘local host’ and the IP address for DB_HOST. But get the same result every time.

    My hosting, domain and database are all with fasthosts.

    Any suggestions would be very much appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • ‘localhost’ is one word – you have a space in your post.

    If you’re using Fasthosts shared hosting then you need to use the IP of the database. localhost or the web server IP (which will be prominently on display in the control panel) won’t work.

    Thread Starter gingerwinner

    (@gingerwinner)

    I’ve tried both localhost and the IP address but still get the same error establishing a database connection message….

    I’d be willing to wager that either the username, password or IP that you’re using are incorrect. I’d recommend contacting Fasthosts to confirm the details that you should be using.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can't establish database connection using FastHosts software’ is closed to new replies.