WordPress.org

Ready to get started?Download WordPress

Forums

Error establishing a database connection ... (3 posts)

  1. bgirardo
    Member
    Posted 2 years ago #

    Team;

    I'm receiving the following error ... I've tried multiple versions of hostname ('localhost', '127.0.0.1') - and I've gone in and granted more rights to the id than I'd ever admit to this group! ;-)

    Any ideas?

    PS: Drupal and PHP are both up and running. Ubuntu 11.10/Apache2.

    Bernie Girardot

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

  2. thereformation
    Member
    Posted 2 years ago #

    What port is mysql running on? usually its 3306.

    Try adding in the port as well?

    I take it that you do have a mysql user set up as per your wp-config file?

  3. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    Yes.

Topic Closed

This topic has been closed to new replies.

About this Topic