Support » Fixing WordPress » The ever popular "error establishing a database connection" plea for help.

  • Hi, I know there have been countless posts about this so I apologize, but I am fairly new to anything involving website creation and suddenly wish I paid more attention during Computer Science in school. I started a domain and paid for hosting at Website Since then, I used WordPress and Theme Twenty Twelve to create our first website. I switched a little while ago to Twenty Fourteen and it seemed fine, and was previewing fine as well, then there was a lag and the next time I previewed I received that “error establishing a database connection” prompt.
    The domain/wp-admin link brings up the larger 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 This could mean your host’s database server is down.”

    I contacted website palace and the person on phone said all tests came back normal but the techs are working on my ticket and I have to await their response.

    Is there anything I can do on my end or do I have to wait for website palace? Is it definitely an issue on their end or can it be something else?

    Sorry again since these topics have been posted, but if anyone has a solution, I would kind of need a step by step answer rather that the “check the wp-config.php” ones bc couldn’t find that on my SQL admin page.
    Thanks for your patience.

Viewing 6 replies - 1 through 6 (of 6 total)
  • A) Sounds like an issue with your host. Await their support/fix.
    C) Backups are always strongly suggested.

    Thanks for the input. I’ll check out that link and await the host’s answer. This is the second error I’ve had with them..I guess you get what you pay for. I’m anxiously awaiting for my lockout period to be over bc it’s time to research a better hosting service.

    Hi again,
    So it’s been about 40 hours since the problem was initially reported to my hosting company. I resent a support request which led to an email stating that the problem was being escalated to their Advance Technical Service team. I sent a follow up half a day later and was given a response saying that they are still looking into the matter and will get back to me when it’s resolved.

    My question is: is this an acceptable amount of downtime for such an issue? I looked into the email address that the message was sent from and it’s, which leads back to Special Services LLC, which some blogs said was the parent company of GoDaddy. I’m just frustrated because I can’t even cancel my hosting with them and switch to something more reliable because until they get my site back up and running, I’ve got nothing to transfer, right?

    Anyone have any thoughts or advice on this? Is this normal and/or acceptable? Is it par for the course with this company?




    If you have a recent backup of your site, you can restore your site at the same hosting account or at another hosting. If you do not have a recent backup, you may sometimes find one at your cPanel (File Manager or whatever), you may try to login to your MySQL/phpMyAdmin and try to get a backup (if you can) or even ask your host to provide you with one. If nothing of these are possible, I am sorry, you may have to wait for your hosting provider’s tech support to come up with a solution.

    Also note that you should always keep backups because for many reasons, you may have to depend on backups.

    Thank you for the info Krishna.
    I managed to at least get a SQL backup though MySQL and save it to my documents. Now that I have that, if I cancel my present hosting company and switch to another, I would go into the mySQL on the new host and import it and it should be okay, right? Or will whatever issue I’ve been dealing with still follow me over there?




    It would be better to test your site to see if the database is carrying the old baggage or not by first restoring it to a local installation or test site. I am not sure if the MySQL copy that you have is reliable or not.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘The ever popular "error establishing a database connection" plea for help.’ is closed to new replies.