Fatal error: Uncaught exception 'Doctrine_Connection_Exception' with message 'PDO Connection Error: SQLSTATE[HY000] [1040] Too many connections' in /var/www/html/application/plugins/doctrine/lib/Doctrine/Connection.php:474 Stack trace: #0 /var/www/html/application/plugins/doctrine/lib/Doctrine/Connection/Mysql.php(101): Doctrine_Connection->connect() #1 /var/www/html/application/plugins/doctrine/lib/Doctrine/Connection.php(1037): Doctrine_Connection_Mysql->connect() #2 /var/www/html/application/plugins/doctrine/lib/Doctrine/Connection/Mysql.php(127): Doctrine_Connection->exec('SET NAMES 'utf8...') #3 /var/www/html/application/plugins/doctrine_pi.php(23): Doctrine_Connection_Mysql->setCharset('utf8') #4 /var/www/html/system/libraries/Loader.php(466): include_once('/var/www/html/a...') #5 /var/www/html/system/libraries/Loader.php(968): CI_Loader->plugin(Array) #6 /var/www/html/system/libraries/Controller.php(83): CI_Loader->_ci_autoloader() #7 /var/www/html/system/libraries/Controller.php(43): Controller->_ci_initialize() # in /var/www/html/application/plugins/doctrine/lib/Doctrine/Connection.php on line 474