Fatal error: Uncaught PDOException: SQLSTATE[08004] [1040] Too many connections in /var/www/html/picks/Doctrine/DBAL/Driver/PDOConnection.php:36 Stack trace: #0 /var/www/html/picks/Doctrine/DBAL/Driver/PDOConnection.php(36): PDO->__construct('mysql:host=104....', 'mysqlussr', 'Indb123<>?', Array) #1 /var/www/html/picks/Doctrine/DBAL/Driver/PDOMySql/Driver.php(46): Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=104....', 'mysqlussr', 'Indb123<>?', Array) #2 /var/www/html/picks/Doctrine/DBAL/Connection.php(348): Doctrine\DBAL\Driver\PDOMySql\Driver->connect(Array, 'mysqlussr', 'Indb123<>?', Array) #3 /var/www/html/picks/Doctrine/DBAL/Connection.php(707): Doctrine\DBAL\Connection->connect() #4 /var/www/html/picks/functions.php(654): Doctrine\DBAL\Connection->query('SELECT * FROM c...') #5 /var/www/html/picks/functions.php(9): get_cont_preferences() #6 /var/www/html/picks/user.php(2): include('/var/www/html/p...') #7 {main} thrown in /var/www/html/picks/Doctrine/DBAL/Driver/PDOConnection.php on line 36