Title: Database issues &#8211; max connections
Last modified: August 18, 2016

---

# Database issues – max connections

 *  [petemc](https://wordpress.org/support/users/petemc/)
 * (@petemc)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/database-issues-max-connections/)
 * I’m sure this comes up hourly. My host allows 10 connections to the MySQL server
   at the same time. They say thats normal for any large site. My site gets 2,000
   unique visitors a day, which is a lot for me but I’m sure not a lot for a large
   WP site. I’m getting the database error page a lot now. On and off all day today.
   They say its because some script isn’t closing database connections so I should
   disable persistent connections in the script. I have no idea how to do that. 
   I’ve checked my PHP settings and it has mysql.allow_persistent set to off.
 * Is 10 mysql connections normal, or a really small amount? I don’t really have
   any major plugins running. I’m trying to decide whether I need to go through 
   the hassle of swapping hosts if mine is indeed not doing their job.

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

 *  [Samuel B](https://wordpress.org/support/users/samboll/)
 * (@samboll)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/database-issues-max-connections/#post-523265)
 * Check out this discussion from a webhosting forum.
    [http://forums.insiderhosting.com/archive/index.php/t-137.html](http://forums.insiderhosting.com/archive/index.php/t-137.html)
 *  Thread Starter [petemc](https://wordpress.org/support/users/petemc/)
 * (@petemc)
 * [19 years, 3 months ago](https://wordpress.org/support/topic/database-issues-max-connections/#post-523284)
 * I’m guessing that there WordPress doesn’t leave any connections open either?

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

The topic ‘Database issues – max connections’ is closed to new replies.

## Tags

 * [max](https://wordpress.org/support/topic-tag/max/)
 * [MySQL](https://wordpress.org/support/topic-tag/mysql/)
 * [persistent](https://wordpress.org/support/topic-tag/persistent/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [petemc](https://wordpress.org/support/users/petemc/)
 * Last activity: [19 years, 3 months ago](https://wordpress.org/support/topic/database-issues-max-connections/#post-523284)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
