<div id="docs-body">
 <div class="section">
  <div class="titlepage">
   <div>
    <div>
     <h4 class="title">
      <a name="too-many-connections">
      </a>
      B.3.2.5 Too many connections
     </h4>
    </div>
   </div>
  </div>
  <p>
   If clients encounter
   <code class="literal">
    Too many connections
   </code>
   errors when attempting to connect to the
   <a class="link" href="mysqld.html" title="6.3.1 mysqld — The MySQL Server">
    <span class="command">
     <strong>
      mysqld
     </strong>
    </span>
   </a>
   server, all available connections
          are in use by other clients.
  </p>
  <p>
   The permitted number of connections is controlled by the
   <a class="link" href="server-system-variables.html#sysvar_max_connections">
    <code class="literal">
     max_connections
    </code>
   </a>
   system
          variable. To support more connections, set
   <a class="link" href="server-system-variables.html#sysvar_max_connections">
    <code class="literal">
     max_connections
    </code>
   </a>
   to a larger
          value.
  </p>
  <p>
   <a class="link" href="mysqld.html" title="6.3.1 mysqld — The MySQL Server">
    <span class="command">
     <strong>
      mysqld
     </strong>
    </span>
   </a>
   actually permits
   <a class="link" href="server-system-variables.html#sysvar_max_connections">
    <code class="literal">
     max_connections
    </code>
   </a>
   + 1 client connections. The extra connection is reserved for
          use by accounts that have the
   <a class="link" href="privileges-provided.html#priv_connection-admin">
    <code class="literal">
     CONNECTION_ADMIN
    </code>
   </a>
   privilege (or
          the deprecated
   <a class="link" href="privileges-provided.html#priv_super">
    <code class="literal">
     SUPER
    </code>
   </a>
   privilege). By granting the privilege to administrators and
          not to normal users (who should not need it), an administrator
          can connect to the server and use
   <a class="link" href="show-processlist.html" title="15.7.7.31 SHOW PROCESSLIST Statement">
    <code class="literal">
     SHOW
          PROCESSLIST
    </code>
   </a>
   to diagnose problems even if the maximum
          number of unprivileged clients are connected. See
   <a class="xref" href="show-processlist.html" title="15.7.7.31 SHOW PROCESSLIST Statement">
    Section 15.7.7.31, “SHOW PROCESSLIST Statement”
   </a>
   .
  </p>
  <p>
   The server also permits administrative connections on a
          dedicated interface. For more information about how the server
          handles client connections, see
   <a class="xref" href="connection-interfaces.html" title="7.1.12.1 Connection Interfaces">
    Section 7.1.12.1, “Connection Interfaces”
   </a>
   .
  </p>
 </div>
 <br/>
</div>
