More than 'max_user_connections' active connections


Hi i tried to install pimcore on a new Server. All Server requirements should be fine but from time to time i get the following exception:

An exception occured in driver: SQLSTATE[HY000] [1203] User p******* already has more than ‘max_user_connections’ active connections

The exception also outputs all database details!! even when you are not logged in the admin section.

in AbstractMySQLDriver.php (line 115)
at AbstractMySQLDriver->convertException(‘An exception occured in driver: SQLSTATE[HY000] [1203] User p4***** already has more than ‘max_user_connections’ active connections’, object(PDOException))
in DBALException.php (line 145)
at DBALException::driverException(object(Driver), object(PDOException))
in Driver.php (line 47)
at Driver->connect(array(‘driver’ => ‘pdo_mysql’, ‘host’ => ‘db*****.myd****.com’, ‘port’ => ‘3306’, ‘dbname’ => ‘usr_*****’, ‘user’ => ‘p****’, ‘password’ => ‘passwordstandshere’, ‘charset’ => ‘UTF8MB4’, ‘driverOptions’ => array(), ‘wrapperClass’ => ‘\Pimcore\Db\Connection’, ‘defaultTableOptions’ => array(‘charset’ => ‘UTF8MB4’, ‘collate’ => ‘utf8mb4_unicode_ci’)), ‘user’, ‘password stands here’, array())
in Connection.php (line 360)

The error comes from time to time .


Hi, I also have the same problem. Also, I can not update Pimcore anymore.
Did you solve the problem?

Best regards


You should check your server for hanging php threads, something must use those connections. If it’s a new server, have you configured mysql properly?

To avoid showing those kind of messages, make sure that you have debug mode disabled and php’s error reporting set properly.