Support » Fixing WordPress » Error in wp-config.php or failure to contact localhost

  • Hi, my blog was working fine approximately 2 hours ago. I tried to visit it again just 5 minutes ago but all I got was an error message as follows:

    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.

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

    I have no idea what’s happened. Please help me asap! ThankS!

  • The topic ‘Error in wp-config.php or failure to contact localhost’ is closed to new replies.