Error establishing a database connection (2 posts)

  1. goliathny
    Posted 8 years ago #

    I'm trying to install WordPress and get this error when I'm try to install:

    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 localhost. This could mean your host's database server is down.

    Are you sure you have the correct username and password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?

    I know the names and password are correct. Could this have something to do with the local host thing?

  2. MichaelH
    Posted 8 years ago #

    localhost is the DB_HOST in many situations.

    If you don't know the database host (sometimes called server) then ask your host for that info.

    Additional Resouce:
    Installing WordPress
    Editing wp-config.php

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.