Support » Fixing WordPress » Error establishing database connection

  • vickie



    I am getting the following when I try to access my site

    I’ve checked the database is running on the server fine and I’ve not changed any logins or passwords so these are also fine so no idea what to do now? Any help or suggestions much appreciated!

    Error establishing database connection

    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?

Viewing 3 replies - 1 through 3 (of 3 total)
  • I see it all just fine?


    Check with these options:

    – Username and password information in your wp-config.php file is incorrect. Please check with PHPMyAdmin and correct it or reset it. Also make necessary changes in wp-config.php file.

    – Make sure that you have typed correct host name in wp-config.php file.

    – Your hosting service provider’s database server is down. Hence, take a support from your hosting service provider.


    Shane G.



    Hey that’s so strange, it’s all come back and I’ve not changed anything!

    The host said it was all fine, I could see the d/base and I’d checked all the details several times over the last couple of hours.

    Suddenly reappeared …

    Thank you both and randinicole I’d given up rechecking – Thx 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error establishing database connection’ is closed to new replies.