# Reserve connections to MySQL root

**URL:** <https://forums.percona.com/t/reserve-connections-to-mysql-root/1208>\
**Category:** Other MySQL® Questions\
**Created:** [July 13, 2009, 1:31am UTC](https://forums.percona.com/t/reserve-connections-to-mysql-root/1208 "2009-07-13T01:31:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajnair0278](https://avatars.discourse-cdn.com/v4/letter/r/db5fbb/32.png) [@rajnair0278](https://forums.percona.com/u/rajnair0278)\
**Post date:** [July 13, 2009, 1:31am UTC](https://forums.percona.com/t/reserve-connections-to-mysql-root/1208/1 "2009-07-13T01:31:40Z")

</div>

More often than not in recent times I have had to bump off the mysql instance to regain normalcy, because it exhausted the max\_connections value allotted to it. In scenarios such as this am unable to check the exact number of the existing connections and also troubleshoot the reason for the same.

My query was to know, if there was any possibility of allotting some connections to the MySQL root user from the max\_connections set?

Any help will be appreciated.

---

<div class="post-metadata">

**Author:** ![rajnair0278](https://avatars.discourse-cdn.com/v4/letter/r/db5fbb/32.png) [@rajnair0278](https://forums.percona.com/u/rajnair0278)\
**Post date:** [July 13, 2009, 3:52am UTC](https://forums.percona.com/t/reserve-connections-to-mysql-root/1208/2 "2009-07-13T03:52:05Z")

</div>

Isn’t there none who can assist, refer, suggest, help ( ?

---

<div class="post-metadata">

**Author:** ![krteq](https://avatars.discourse-cdn.com/v4/letter/k/c57346/32.png) [@krteq](https://forums.percona.com/u/krteq)\
**Post date:** [July 14, 2009, 2:31pm UTC](https://forums.percona.com/t/reserve-connections-to-mysql-root/1208/3 "2009-07-14T14:31:56Z")

</div>

check if you have the SUPER privilege. There is one more connection reserved for such users. See [http://dev.mysql.com/doc/refman/5.1/en/too-many-connections](http://dev.mysql.com/doc/refman/5.1/en/too-many-connections). html

---

<div class="post-metadata">

**Author:** ![rajnair0278](https://avatars.discourse-cdn.com/v4/letter/r/db5fbb/32.png) [@rajnair0278](https://forums.percona.com/u/rajnair0278)\
**Post date:** [July 14, 2009, 11:31pm UTC](https://forums.percona.com/t/reserve-connections-to-mysql-root/1208/4 "2009-07-14T23:31:15Z")

</div>

I thought root had the SUPER privilege by default!! confused:

---

<div class="post-metadata">

**Author:** ![krteq](https://avatars.discourse-cdn.com/v4/letter/k/c57346/32.png) [@krteq](https://forums.percona.com/u/krteq)\
**Post date:** [July 15, 2009, 3:12am UTC](https://forums.percona.com/t/reserve-connections-to-mysql-root/1208/5 "2009-07-15T03:12:07Z")

</div>

I really don’t know, I don’t see you app )

Watch the processlist, look for sleeping connections.  
If it’s a web app, issue SET SESSION wait\_timeout=30; right after connecting to the DB. This prevents sleeping connections to fill the max\_connections limit.  
Another thing is max\_user\_connections - set it _lower_ than the max\_connections.
