WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. englishbullterrier
    Member
    Posted 5 years ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic