Forums

[resolved] "Error establishing a database connection" (1 post)

  1. almightylose
    Member
    Posted 4 years ago #

    I am currently receiving the following error when I attempt to use the install.php on my server:

    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 [host name]. 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 am using an H-Sphere Control panel and set my database up through their MYSql server wizard. These are the specs that I am working with:

    Host Name mysql10.hsphere.cc (216.157.145.55)
    Port number 3306
    Database Name ghettoo_overlord
    User Name ghettoo_overlord

    These are the current specs I am using in my wp-config profile:

    define('DB_NAME', 'ghettoo_overlord'); // The name of the database
    define('DB_USER', 'ghettoo_overlord'); // Your MySQL username
    define('DB_PASSWORD', '[password]'); // ...and password
    define('DB_HOST', '[have tried localhost and nearly every combination of host and port IP I could think of]'); // 99% chance you won't need to change this value

    I'm beginning to wonder whether or not this is a host problem. Any help I could get would be appreciated.

Topic Closed

This topic has been closed to new replies.

About this Topic