WordPress.org

Ready to get started?Download WordPress

Forums

Error establishing a database connection (5 posts)

  1. anothero
    Member
    Posted 8 years ago #

    I get the following error:

    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?

    I'm almost sure it's all correct. I installed wordpressmu some times before, but with another host. The cpanel looked different, but I thought I did fine...

    How can I check if the database server is running?

  2. maerk
    Member
    Posted 8 years ago #

    Have you downloaded the file called wp-config.php and checked the details in it?

    Personally, I don't trust these automated installation scripts...

  3. maerk
    Member
    Posted 8 years ago #

    Just thought, tour host should normally provide some sort of status check thing that will enable you to see whether MySQL is running or not.

    If you're running CPanel, it should be there somewhere. I lvoe CPanel, it's great.

  4. optimisticfriend
    Member
    Posted 8 years ago #

    I just got the same error message after my blog ran fine for months. What hosting company are you using? Startlogic by any chance?

  5. crstn_savu
    Member
    Posted 8 years ago #

    I'm getting the following error... what should i change in wp-config.php (sorry 4 my english)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.