Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [1040] Too many connections' in /home/pni/wms/vendor/ZF2/library/Zend/Db/Adapter/Driver/Pdo/Connection.php:253 Stack trace: #0 /home/pni/wms/vendor/ZF2/library/Zend/Db/Adapter/Driver/Pdo/Connection.php(253): PDO->__construct('mysql:dbname=pn...', 'pni_product', 'oXe5I5e@3i2l', Array) #1 /home/pni/wms/vendor/ZF2/library/Zend/Db/Adapter/Driver/Pdo/Pdo.php(249): Zend\Db\Adapter\Driver\Pdo\Connection->connect() #2 /home/pni/wms/vendor/ZF2/library/Zend/Db/Sql/Sql.php(128): Zend\Db\Adapter\Driver\Pdo\Pdo->createStatement() #3 /home/pni/wms/vendor/ZF2/library/Zend/Db/TableGateway/AbstractTableGateway.php(237): Zend\Db\Sql\Sql->prepareStatementForSqlObject(Object(Zend\Db\Sql\Select)) #4 /home/pni/wms/vendor/ZF2/library/Zend/Db/TableGateway/AbstractTableGateway.php(208): Zend\Db\TableGateway\AbstractTableGateway->executeSelect(Object(Zend\Db\Sql\Select)) #5 /home/pni/wms/vendor/ZF2/library/Zend/Db/TableGateway/AbstractTableGateway.php(195): Zend\Db\TableGateway\AbstractTableGateway->selectWith(Object(Zend\Db\Sql\Select)) #6 /home/pni/wms/vendor/Lib3rdParty/library/ErrExceptionMessage/ErrExceptionTable.php(48): Zend\Db\TableGateway\AbstractTableGateway->select(Array) #7 /home/pni/wms/vendor/Lib3rdParty/library/ErrExceptionMessage/ErrExceptionTable.php(35): ErrExceptionMessage\ErrExceptionTable->getByErrClsOrTextId(Object(Zend\Db\Adapter\Exception\RuntimeException), Object(Zend\Uri\Http)) #8 /home/pni/wms/vendor/Lib3rdParty/library/ErrExceptionMessage/Exception.php(63): ErrExceptionMessage\ErrExceptionTable->getByErrCls(Object(Zend\Db\Adapter\Exception\RuntimeException), Object(Zend\Uri\Http)) #9 /home/pni/wms/vendor/Lib3rdParty/library/ErrExceptionMessage/Exception.php(74): ErrExceptionMessage\Exception->getErrException() #10 phar:///home/pni/wms/vendor/ProjectLibraries/WMS.phar/WmsModuleBase.php(199): ErrExceptionMessage\Exception->getMessage() #11 [internal function]: WMS\WmsModuleBase->handleException(Object(Zend\Mvc\MvcEvent)) #12 /home/pni/wms/vendor/ZF2/library/Zend/EventManager/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #13 /home/pni/wms/vendor/ZF2/library/Zend/EventManager/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('render.error', Object(Zend\Mvc\MvcEvent), Array) #14 /home/pni/wms/vendor/ZF2/library/Zend/Mvc/View/Http/DefaultRenderingStrategy.php(113): Zend\EventManager\EventManager->trigger('render.error', Object(Zend\Mvc\MvcEvent)) #15 [internal function]: Zend\Mvc\View\Http\DefaultRenderingStrategy->render(Object(Zend\Mvc\MvcEvent)) #16 /home/pni/wms/vendor/ZF2/library/Zend/EventManager/EventManager.php(444): call_user_func(Array, Object(Zend\Mvc\MvcEvent)) #17 /home/pni/wms/vendor/ZF2/library/Zend/EventManager/EventManager.php(205): Zend\EventManager\EventManager->triggerListeners('render', Object(Zend\Mvc\MvcEvent), Array) #18 /home/pni/wms/vendor/ZF2/library/Zend/Mvc/Application.php(353): Zend\EventManager\EventManager->trigger('render', Object(Zend\Mvc\MvcEvent)) #19 /home/pni/wms/vendor/ZF2/library/Zend/Mvc/Application.php(328): Zend\Mvc\Application->completeRequest(Object(Zend\Mvc\MvcEvent)) #20 /home/pni/public_html/index.php(34): Zend\Mvc\Application->run() #21 {main} Next exception 'Zend\Db\Adapter\Exception\RuntimeException' with message 'Connect Error: SQLSTATE[HY000] [1040] Too many connections' in /home/pni/wms/vendor/ZF2/library/Zend/Db/Adapter/Driver/Pdo/Connection.php:264 Stack trace: #0 /home/pni/wms/vendor/ZF2/library/Zend/Db/Adapter/Driver/Pdo/Pdo.php(249): Zend\Db\Adapter\Driver\Pdo\Connection->connect() #1 /home/pni/wms/vendor/ZF2/library/Zend/Db/Sql/Sql.php(128): Zend\Db\Adapter\Driver\Pdo\Pdo->createStatement() #2 /home/pni/wms/vendor/ZF2/library/Zend/Db/TableGateway/AbstractTableGateway.php(237): Zend\Db\Sql\Sql->prepareStatementForSqlObject(Object(Zend\Db\Sql\Select)) #3 /home/pni/wms/vendor/ZF2/library/Zend/Db/TableGateway/AbstractTableGateway.php(208): Zend\Db\TableGateway\AbstractTableGateway->executeSelect(Object(Zend\Db\Sql\Select)) #4 /home/pni/wms/vendor/ZF2/library/ in /home/pni/wms/vendor/ZF2/library/Zend/Db/Adapter/Driver/Pdo/Connection.php on line 264