Fatal error: Uncaught PDOException: SQLSTATE[08004] [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() #1 /home/pni/wms/vendor/ZF2/library/Zend/Db/Adapter/Driver/Pdo/Connection.php(108): Zend\Db\Adapter\Driver\Pdo\Connection->connect() #2 phar:///home/pni/wms/vendor/Lib3rdParty/phar/Lib3rdParty.phar/Zend/Db/TableGateway/TableGateway.php(54): Zend\Db\Adapter\Driver\Pdo\Connection->getCurrentSchema() #3 phar:///home/pni/wms/vendor/Lib3rdParty/phar/Lib3rdParty.phar/Helper/Model/SingleObjectCommonFunc.php(219): Lib3rdParty\Zend\Db\TableGateway\TableGateway->__construct() #4 phar:///home/pni/wms/vendor/Lib3rdParty/phar/Lib3rdParty.phar/Helper/Model/SingleObjectCommonFunc.php(202): Lib3rdParty\Helper\Model\SingleObjectCommonFunc::getMyTableGateway() #5 phar:///home/pni/wms/vendor/ProjectLibraries/WMS.phar/ProductSearch/SearchAbstract.php(1911): Lib3rdParty in /home/pni/wms/vendor/ZF2/library/Zend/ServiceManager/ServiceManager.php on line 947