Title: Database Error Connection Caused by Plugin
Last modified: August 19, 2016

---

# Database Error Connection Caused by Plugin

 *  [haizdesign](https://wordpress.org/support/users/haizdesign/)
 * (@haizdesign)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/database-error-connection-caused-by-plugin/)
 * I have several sites that use WordPress as the CMS. Last night 3 of them went
   down reporting Database Error Connections. My web host support told me that it
   was caused by max_user_connections being exceeded. I had other sites that were
   not affected and 2 of these 3 sites have not previously had problems.
 * It was also suggested that it could be due to a corrupt plugin, but I can’t find
   any plugins (and latest updates) that were not on the ‘good’ sites too. All sites
   are using WordPress 3.1.1. They went on to say:
 * > I have found this to be a very common issue over the last year or so with WordPress
   > in which some plugin or possibly even a core component causes frequent corruption
   > of the wp_options table (which is clearly odd since this table is very small
   > with under 200 records most of the time).
   >  Once the wp_options table is corrupted,
   > the MySQL server generally will attempt an automatic repair which just runs
   > and runs non stop due to something odd in the table which it doesn’t seem able
   > to resolve or correctly identify/report. When this is occurring, every future
   > query to the wp_options table will queue up waiting for the table to be usable,
   > thus leading to the max_user_connections being reached pretty quickly.
   > I have only ever seen this behavior within WordPress and searching their forums
   > or google will reveal tons of discussions of this type of issue, but unfortunately
   > so far I have never found any solution beyond disabling plugins/components 
   > in WordPress until finding the one that causes it.
   > This seems to be a very major issue which WordPress developers should be digging
   > deeper into but so far I have seen no indication of investigation.
 * This has only happened since the 3.1.1 upgrade and I’d really like some feedback
   from the wp community please.

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

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/database-error-connection-caused-by-plugin/#post-2051056)
 * Have you tried:
 * – deactivating **all** plugins to see if this resolves the problem. If this works,
   re-activate the plugins one by one until you find the problematic plugin(s).
 * – switching to the Twenty Ten theme to rule out any theme-specific problems.
 * – [resetting the plugins folder](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)
   by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause
   problems.
 *  Thread Starter [haizdesign](https://wordpress.org/support/users/haizdesign/)
 * (@haizdesign)
 * [15 years, 1 month ago](https://wordpress.org/support/topic/database-error-connection-caused-by-plugin/#post-2051059)
 * Thanks esmi
 * I’ve tried deactivating plugins, but not tried the other 2 options. Didn’t realise
   you can reset the plugins folder!

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

The topic ‘Database Error Connection Caused by Plugin’ is closed to new replies.

## Tags

 * [Plugin Problems](https://wordpress.org/support/topic-tag/plugin-problems/)
 * [update issues](https://wordpress.org/support/topic-tag/update-issues/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [haizdesign](https://wordpress.org/support/users/haizdesign/)
 * Last activity: [15 years, 1 month ago](https://wordpress.org/support/topic/database-error-connection-caused-by-plugin/#post-2051059)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
