WordPress.org

Ready to get started?Download WordPress

Forums

Error establishing a database connection!! (4 posts)

  1. RandomTask212
    Member
    Posted 9 years ago #

    I'm not few to PHP, but am new to the WP game. My friend is hosting me and he told me my settings, and when i put them in the wp-config.php it comes up with this message:

    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

    And so, Please help...any ideas?

  2. Jennifer Ledbetter Clay
    Member
    Posted 9 years ago #

    Weird, I'm having the same trouble with my sites too :(

  3. Jennifer Ledbetter Clay
    Member
    Posted 9 years ago #

    Well, I'm back up now :)

  4. moshu
    Member
    Posted 9 years ago #

    RandomTask212,
    ask again your friend about those settings and/or double check them in the config file.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.