• Resolved jbcal

    (@jbcal)


    Hi. I’m selecting 4.1 as the version, but I honestly don’t recall whether or not I had upgraded to 4.1 before this happened.

    My page http://www.inconsistentbabble.com displays “Error Establishing a Database Connection” as does my login URL. I’ve not changed anything recently, this didn’t happen after I installed a new plugin or made some change and “poof!” database error. It didn’t happen like that; it was fine, then a few days later this error occurs.

    I’m betting that the host change the name of the database on me and I need to update that; however, the config file is gone of course, so I can’t compare passwords, etc.

    I can reach the directory using FTP, so any thoughts on changing any files is fine with me.

    Any advice is appreciated.

    Thanks,
    John

Viewing 6 replies - 1 through 6 (of 6 total)
  • the config file is gone of course

    That’s a big concern, but I don’t think that you’re completely right there. If the config file was deleted you’d get the installation pages, not the connection error.

    The first think to do is check with your hosting company to see if any changes have been made. If you haven’t done anything, then it’s really most likely that something has happened on their end, and they’ll have to fix it.

    Thread Starter jbcal

    (@jbcal)

    Thank you! I’ll get on it today and will report back.

    Thread Starter jbcal

    (@jbcal)

    Bah! Inconceivable! It was my own doing. Multiple domains hosted and two were using the same database. The database was deleted when I dropped (deleted, didn’t renew) domain A, because the DB belonged to domain A.

    The support team was pretty quick to direct my site to another DB that I had set up, and whamo! site’s up and running.

    Now, can anyone tell me how database A and database B can have the same content, yet if I delete database A my site goes down? I was under the impression that domain A linked to domain A databases only, etc.

    Thanks for your input!!

    Thread Starter jbcal

    (@jbcal)

    Oh, and @catacaustic

    Me: “the config file is gone of course”

    You “That’s a big concern, but I don’t think that you’re completely right there.”

    You were spot on. The support person said he or she “…updated your wp-config file to reflect the new database name…”

    So, I’m off to find the config file now 🙂 Thanks again!

    Now, can anyone tell me how database A and database B can have the same content, yet if I delete database A my site goes down? I was under the impression that domain A linked to domain A databases only, etc.

    That all depends on how you have them set up. You can have one database for multiple sites and accounts, or you can have separate databases for each site. You can also have all of the databases in one single account and connecto to them from any other outside account.

    Thread Starter jbcal

    (@jbcal)

    I did not know that. Thank you! I appreciate your help and info!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Error Establishing a Database Connection’ is closed to new replies.