WordPress.org

Support

Support » Installation » [Resolved] Error establishing a database connection (now resolved)

[Resolved] Error establishing a database connection (now resolved)

  • 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.

    Details on my hosting provider:
    MySQL Server: MySQL 14
    MySQL Hostname: 79.99.43.20
    MySQL Username: englishbu1
    MySQL Password: *******

    WordPress:
    // ** MySQL settings ** //
    define(‘DB_NAME’, ‘ MySQL 14’); // The name of the database
    define(‘DB_USER’, ‘englishbu1’); // Your MySQL username
    define(‘DB_PASSWORD’, ‘*******’); // …and password
    define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value

    RESOLVED**
    Never mind, had to change localhost to my servers IP

  • The topic ‘[Resolved] Error establishing a database connection (now resolved)’ is closed to new replies.
Skip to toolbar