WordPress.org

Ready to get started?Download WordPress

Forums

Error establishing a database connection. Please help! (2 posts)

  1. mushfique
    Member
    Posted 12 months ago #

    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.

    **

    This is what I am getting. I know its a common problem and have checked for all the solutions. I have checked my db username and password and everything seems to be fine. However, the space used is 0.00. I even created a new user with new password but its all the same. Is the problem with the location 'localhost' ?

    Please somebody help me. all my work is going to go down the drain.

    THanks for your help in advance.

  2. wp-21
    Member
    Posted 12 months ago #

    Hi,...
    It generally means there is a problem in your config file and
    you should check all the three points mentioned above in your wp-config.php file i.e. check your username and password, see that your host name is correct and contact your host and verify that your server isn't down ...

    You should check your hostname properly in wp-config file.It's generally localhost but it can be different.

    It can be found out from your cpanel of the website.

    cheers..:)...

Reply

You must log in to post.

About this Topic

Tags