PDOException: SQLSTATE[08004] [1040] Too many connections in /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct() #1 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(424): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query() #5 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(560): Zend_Db_Adapter_Pdo_Abstract->query() #6 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(627): Magento\Framework\DB\Adapter\Pdo\Mysql->_query() #7 /var/www/html/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(95): Magento\Framework\DB\Adapter\Pdo\Mysql->query() #8 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->query() #9 /var/www/html/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(1085): Zend_Db_Adapter_Abstract->fetchAll() #10 /var/www/html/vendor/magento/framework/Data/Collection/Db/FetchStrategy/Query.php(21): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->fetchAll() #11 /var/www/html/vendor/magento/framework/Data/Collection/AbstractDb.php(782): Magento\Framework\Data\Collection\Db\FetchStrategy\Query->fetchAll() #12 /var/www/html/vendor/magento/framework/Data/Collection/AbstractDb.php(677): Magento\Framework\Data\Collection\AbstractDb->_fetchAll() #13 /var/www/html/generated/code/Magento/Config/Model/ResourceModel/Config/Data/Collection/Interceptor.php(347): Magento\Framework\Data\Collection\AbstractDb->getData() #14 /var/www/html/vendor/magento/framework/Data/Collection/AbstractDb.php(580): Magento\Config\Model\ResourceModel\Config\Data\Collection\Interceptor->getData() #15 /var/www/html/generated/code/Magento/Config/Model/ResourceModel/Config/Data/Collection/Interceptor.php(329): Magento\Framework\Data\Collection\AbstractDb->loadWithFilter() #16 /var/www/html/vendor/magento/framework/Data/Collection/AbstractDb.php(565): Magento\Config\Model\ResourceModel\Config\Data\Collection\Interceptor->loadWithFilter() #17 /var/www/html/generated/code/Magento/Config/Model/ResourceModel/Config/Data/Collection/Interceptor.php(320): Magento\Framework\Data\Collection\AbstractDb->load() #18 /var/www/html/vendor/magento/module-config/App/Config/Source/RuntimeConfigSource.php(89): Magento\Config\Model\ResourceModel\Config\Data\Collection\Interceptor->load() #19 /var/www/html/vendor/magento/module-config/App/Config/Source/RuntimeConfigSource.php(72): Magento\Config\App\Config\Source\RuntimeConfigSource->loadConfig() #20 /var/www/html/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(42): Magento\Config\App\Config\Source\RuntimeConfigSource->get() #21 /var/www/html/vendor/magento/module-config/App/Config/Type/System/Reader.php(60): Magento\Framework\App\Config\ConfigSourceAggregated->get() #22 /var/www/html/generated/code/Magento/Config/App/Config/Type/System/Reader/Proxy.php(95): Magento\Config\App\Config\Type\System\Reader->read() #23 /var/www/html/vendor/magento/module-config/App/Config/Type/System.php(395): Magento\Config\App\Config\Type\System\Reader\Proxy->read() #24 /var/www/html/vendor/magento/module-config/App/Config/Type/System.php(265): Magento\Config\App\Config\Type\System->readData() #25 /var/www/html/vendor/magento/module-config/App/Config/Type/System.php(207): Magento\Config\App\Config\Type\System->loadDefaultScopeData() #26 /var/www/html/vendor/magento/module-config/App/Config/Type/System.php(181): Magento\Config\App\Config\Type\System->getWithParts() #27 /var/www/html/vendor/magento/framework/App/Config.php(132): Magento\Config\App\Config\Type\System->get() #28 /var/www/html/vendor/magento/framework/App/Config.php(80): Magento\Framework\App\Config->get() #29 /var/www/html/vendor/magento/framework/App/Config.php(93): Magento\Framework\App\Config->getValue() #30 /var/www/html/vendor/magento/module-new-relic-reporting/Model/Config.php(94): Magento\Framework\App\Config->isSetFlag() #31 /var/www/html/vendor/magento/module-new-relic-reporting/Plugin/HttpPlugin.php(49): Magento\NewRelicReporting\Model\Config->isNewRelicEnabled() #32 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(121): Magento\NewRelicReporting\Plugin\HttpPlugin->beforeCatchException() #33 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}() #34 /var/www/html/generated/code/Magento/Framework/App/Http/Interceptor.php(32): Magento\Framework\App\Http\Interceptor->___callPlugins() #35 /var/www/html/vendor/magento/framework/App/Bootstrap.php(269): Magento\Framework\App\Http\Interceptor->catchException() #36 /var/www/html/pub/index.php(36): Magento\Framework\App\Bootstrap->run() #37 {main} Next Zend_Db_Adapter_Exception: SQLSTATE[08004] [1040] Too many connections in /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(424): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query() #4 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(560): Zend_Db_Adapter_Pdo_Abstract->query() #5 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(627): Magento\Framework\DB\Adapter\Pdo\Mysql->_query() #6 /var/www/html/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(95): Magento\Framework\DB\Adapter\Pdo\Mysql->query() #7 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->query() #8 /var/www/html/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(1085): Zend_Db_Adapter_Abstract->fetchAll() #9 /var/www/html/vendor/magento/framework/Data/Collection/Db/FetchStrategy/Query.php(21): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->fetchAll() #10 /var/www/html/vendor/magento/framework/Data/Collection/AbstractDb.php(782): Magento\Framework\Data\Collection\Db\FetchStrategy\Query->fetchAll() #11 /var/www/html/vendor/magento/framework/Data/Collection/AbstractDb.php(677): Magento\Framework\Data\Collection\AbstractDb->_fetchAll() #12 /var/www/html/generated/code/Magento/Config/Model/ResourceModel/Config/Data/Collection/Interceptor.php(347): Magento\Framework\Data\Collection\AbstractDb->getData() #13 /var/www/html/vendor/magento/framework/Data/Collection/AbstractDb.php(580): Magento\Config\Model\ResourceModel\Config\Data\Collection\Interceptor->getData() #14 /var/www/html/generated/code/Magento/Config/Model/ResourceModel/Config/Data/Collection/Interceptor.php(329): Magento\Framework\Data\Collection\AbstractDb->loadWithFilter() #15 /var/www/html/vendor/magento/framework/Data/Collection/AbstractDb.php(565): Magento\Config\Model\ResourceModel\Config\Data\Collection\Interceptor->loadWithFilter() #16 /var/www/html/generated/code/Magento/Config/Model/ResourceModel/Config/Data/Collection/Interceptor.php(320): Magento\Framework\Data\Collection\AbstractDb->load() #17 /var/www/html/vendor/magento/module-config/App/Config/Source/RuntimeConfigSource.php(89): Magento\Config\Model\ResourceModel\Config\Data\Collection\Interceptor->load() #18 /var/www/html/vendor/magento/module-config/App/Config/Source/RuntimeConfigSource.php(72): Magento\Config\App\Config\Source\RuntimeConfigSource->loadConfig() #19 /var/www/html/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(42): Magento\Config\App\Config\Source\RuntimeConfigSource->get() #20 /var/www/html/vendor/magento/module-config/App/Config/Type/System/Reader.php(60): Magento\Framework\App\Config\ConfigSourceAggregated->get() #21 /var/www/html/generated/code/Magento/Config/App/Config/Type/System/Reader/Proxy.php(95): Magento\Config\App\Config\Type\System\Reader->read() #22 /var/www/html/vendor/magento/module-config/App/Config/Type/System.php(395): Magento\Config\App\Config\Type\System\Reader\Proxy->read() #23 /var/www/html/vendor/magento/module-config/App/Config/Type/System.php(265): Magento\Config\App\Config\Type\System->readData() #24 /var/www/html/vendor/magento/module-config/App/Config/Type/System.php(207): Magento\Config\App\Config\Type\System->loadDefaultScopeData() #25 /var/www/html/vendor/magento/module-config/App/Config/Type/System.php(181): Magento\Config\App\Config\Type\System->getWithParts() #26 /var/www/html/vendor/magento/framework/App/Config.php(132): Magento\Config\App\Config\Type\System->get() #27 /var/www/html/vendor/magento/framework/App/Config.php(80): Magento\Framework\App\Config->get() #28 /var/www/html/vendor/magento/framework/App/Config.php(93): Magento\Framework\App\Config->getValue() #29 /var/www/html/vendor/magento/module-new-relic-reporting/Model/Config.php(94): Magento\Framework\App\Config->isSetFlag() #30 /var/www/html/vendor/magento/module-new-relic-reporting/Plugin/HttpPlugin.php(49): Magento\NewRelicReporting\Model\Config->isNewRelicEnabled() #31 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(121): Magento\NewRelicReporting\Plugin\HttpPlugin->beforeCatchException() #32 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}() #33 /var/www/html/generated/code/Magento/Framework/App/Http/Interceptor.php(32): Magento\Framework\App\Http\Interceptor->___callPlugins() #34 /var/www/html/vendor/magento/framework/App/Bootstrap.php(269): Magento\Framework\App\Http\Interceptor->catchException() #35 /var/www/html/pub/index.php(36): Magento\Framework\App\Bootstrap->run() #36 {main}