Support » Networking WordPress » "database connection error" – specific questions

  • Resolved Toni

    (@tools4toni)


    I know there is much on this. I have gone through quite a bit. Host Hoot tech support has been working on this for days even though it is a WordPress issue.
    They had found a couple issues and fixed them. If it will help, I can ask for specifics of what they found and did.

    I can usually work around the occurrences. There are intermittent. No pattern. I am not blocked from anything.

    Does this indicate anything?
    In general, all along, all I usually need to do is reload the page – or browse backward and then forward directly returning to the page and it works.

    I think it happens primarily now in the main network admin functions/sections. Does that indicate anything?

    ANY INPUT IS OF VALUE.
    Thank you

    Please Note: I am not tech savvy or well versed in databases.
    My host tech support will implement any possible solutions, especially if they are complex.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hey Toni,

    I’m also seeing this on my site from time to time. It’s hard to find the cause, because it only happens occasionally. My best guess is that it is related to a plugin, or to conflicting plugins.

    I’d suggest to look into plugins that need lots of resources. If possible, try to deactivate these and see if it still occurs.

    On my site I tend to think that there is a conflict between W3 Total Cache and Wordfence, but I did not deactivate them yet. Lowering “Maximum execution time for each scan stage” settings in Wordfence seems to have helped, but only a bit. I’m having trouble completing scans too, but not when I start them manually. And lowering the setting to its minimum didn’t help.

    I’ll do some more digging before I report it, but it would be helpful to know if you would happen to have these plugins active on your site as well.

    Else…

    Perhaps it helps to activate your error log. You can do so in wp-config.php by adding the following right before where it says “stop editing”.

    define('WP_DEBUG', true);
    define('WP_DEBUG_LOG', true);
    define('WP_DEBUG_DISPLAY', false);

    You will then find your log in “wp-content”, named “debug.log”. Best don’t wait too long before you check it. In case there are errors the file may become pretty big in no time. Once done you can set WP_DEBUG to false and delete the error log.

    I hope this helps. GL with it!

    Toni

    (@tools4toni)

    Thank you so much for responding!!! @axel13

    Any thing will help. I have no idea what to do. I have a lot of plugins. A lot. I will update this post once I’ve given this a try.

    I MOST appreciate the careful and clear directions. Things I should be able to do but never did. Excellent. I’m a bit excited to get into it.

    We’ll see!
    Toni

    Toni

    (@tools4toni)

    I got some info. I passed some on to tech support. I am not sure there was related issue things there. A valuable resource for troubleshooting! Thanks for that.

    Toni

    (@tools4toni)

    I reinstalled JetPack. There is a permissions error with connecting JetPack. My host is investigating and I put into to JetPack support.

    Toni

    (@tools4toni)

    JetPack issue remains.
    Host manually changed the domain in the database. Issue resolved so far.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘"database connection error" – specific questions’ is closed to new replies.