Forums

Can't establish database connection using FastHosts software (5 posts)

  1. gingerwinner
    Member
    Posted 1 year ago #

    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!

  2. plaughton
    Member
    Posted 1 year ago #

    'localhost' is one word - you have a space in your post.

  3. Evari
    Member
    Posted 1 year ago #

    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.

  4. gingerwinner
    Member
    Posted 1 year ago #

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

  5. Evari
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic