The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Random Database Connection Errors (5 posts)

  1. jOt Creative
    Posted 4 years ago #

    This may not be multisite specific, but it's happening on a multisite blog, so I thought I'd post here first.

    Just a few days ago I panicked when I clicked "edit" on a post and got the "error connecting to database" page. Obviously my install has had no problem accessing the database since it was set up, so I was taken aback.

    I clicked "back" and tried a few more times, and after the third or fourth try it finally went to the "edit post" page. This occurs fairly consistently now.

    I was very wary of what was happening, so I backed up the database just to be sure. I've contacted my host, so I'll see if it's anything technical, but I was just wondering if anyone here might have a clue what was going on. Rogue plugin, perhaps?

  2. Samuel B

    Posted 4 years ago #

    sounds like the wp_options table in the database is trying to crash - you can run a repair on it

    log in to phpmyadmin
    click on correct database
    check mark options table
    choose "repair" from drop down at bottom of screen

  3. Could be a host issue too.

  4. jOt Creative
    Posted 4 years ago #

    Thanks to you both. Before I could try fixing the database, the host replied saying that he had "loosened up" my MySQL database. Sounds scary. On the flip side, I haven't seen the issue since, so maybe that did the trick. I'll still run the repair just in case!

  5. jOt Creative
    Posted 4 years ago #

    Wow...the very next time I accessed my blog after my last post, before repairing the options database, I received a database connection error.

    I've fixed the database prefixed with wp_2_, which I assume is blog "2", the blog in question. Fingers crossed!

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.