WordPress.org

Ready to get started?Download WordPress

Forums

The ever popular "error establishing a database connection" plea for help. (7 posts)

  1. esheh195
    Member
    Posted 4 months ago #

    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 Palace.com. 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 des1333710371566.db.12144241.hostedresource.com. 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.

  2. Pioneer Valley Web Design
    Member
    Posted 4 months ago #

    A) Sounds like an issue with your host. Await their support/fix.
    B) http://codex.wordpress.org/Editing_wp-config.php
    C) Backups are always strongly suggested.

  3. esheh195
    Member
    Posted 4 months ago #

    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.

  4. esheh195
    Member
    Posted 4 months ago #

    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 secureserver.net, 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?

  5. Krishna
    Volunteer Moderator
    Posted 4 months ago #

    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.
    http://codex.wordpress.org/Restoring_Your_Database_From_Backup
    http://codex.wordpress.org/Backing_Up_Your_Database

  6. esheh195
    Member
    Posted 4 months ago #

    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?

  7. Krishna
    Volunteer Moderator
    Posted 4 months ago #

    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.
    http://codex.wordpress.org/WordPress_Installation_Techniques#Installing_WordPress_Locally

Reply

You must log in to post.

About this Topic