• I am having a heck of a time installing this program. This is the message I keep getting.

    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?

    If you’re unsure what these terms mean you should probably contact your host. If you still need help you can always visit the WordPress Support Forums.

    I have checked all of the above and have changed several times but I cant get it to work. Does anyone have any suggestions ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Check your database credentials with your hosts.

    Howdy rlb5256,

    Where are you trying to install WP? On a hosting account (such as Go Daddy, HostGator, BlueHost, etc.) or on your own computer using a local host such as XAMPP, WAMPServer, MAMP, etc? … makes all the difference in the world as to what your “database credentials” are ??

    Cheers!
    Lyle

    I also have the same issue! I am trying to install WP using a local host, WAMPServer. Can anybody help me?

    I made sure that my wp-config.php file looks like this

    // ** MySQL settings – You can get this info from your web host ** //
    /** The name of the database for WordPress */
    define(‘DB_NAME’, ‘wordpress’);

    /** MySQL database username */
    define(‘DB_USER’, ‘root’);

    /** MySQL database password */
    define(‘DB_PASSWORD’, ”);

    /** MySQL hostname */
    define(‘DB_HOST’, ‘localhost’);

    I was able to fix it, thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Installing WordPress’ is closed to new replies.