PDOException: SQLSTATE[HY000] [1040] Too many connections in /home/test2/www/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /home/test2/www/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct() #1 /home/test2/www/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /home/test2/www/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(424): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /home/test2/www/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /home/test2/www/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query() #5 /home/test2/www/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(560): Zend_Db_Adapter_Pdo_Abstract->query() #6 /home/test2/www/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(627): Magento\Framework\DB\Adapter\Pdo\Mysql->_query() #7 /home/test2/www/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(95): Magento\Framework\DB\Adapter\Pdo\Mysql->query() #8 /home/test2/www/vendor/magento/framework/Lock/Backend/Database.php(84): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->query() #9 /home/test2/www/vendor/magento/framework/Cache/LockGuardedCacheLoader.php(134): Magento\Framework\Lock\Backend\Database->lock() #10 /home/test2/www/vendor/magento/module-config/App/Config/Type/System.php(281): Magento\Framework\Cache\LockGuardedCacheLoader->lockedLoadData() #11 /home/test2/www/vendor/magento/module-config/App/Config/Type/System.php(207): Magento\Config\App\Config\Type\System->loadDefaultScopeData() #12 /home/test2/www/vendor/magento/module-config/App/Config/Type/System.php(181): Magento\Config\App\Config\Type\System->getWithParts() #13 /home/test2/www/vendor/magento/framework/App/Config.php(132): Magento\Config\App\Config\Type\System->get() #14 /home/test2/www/vendor/magento/framework/App/Config.php(80): Magento\Framework\App\Config->get() #15 /home/test2/www/vendor/magento/framework/App/Config.php(93): Magento\Framework\App\Config->getValue() #16 /home/test2/www/vendor/magento/module-store/Model/HeaderProvider/Hsts.php(50): Magento\Framework\App\Config->isSetFlag() #17 /home/test2/www/vendor/magento/framework/App/Response/HeaderManager.php(42): Magento\Store\Model\HeaderProvider\Hsts->canApply() #18 /home/test2/www/vendor/magento/framework/Interception/Interceptor.php(121): Magento\Framework\App\Response\HeaderManager->beforeSendResponse() #19 /home/test2/www/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #20 /home/test2/www/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(23): Magento\Framework\App\Response\Http\Interceptor->___callPlugins() #21 /home/test2/www/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #22 /home/test2/www/vendor/magento/framework/App/ExceptionHandler.php(70): Magento\Framework\App\ExceptionHandler->handleDeveloperMode() #23 /home/test2/www/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\ExceptionHandler->handle() #24 /home/test2/www/vendor/magento/framework/App/Bootstrap.php(269): Magento\Framework\App\Http->catchException() #25 /home/test2/www/pub/index.php(29): Magento\Framework\App\Bootstrap->run() #26 {main} Next Zend_Db_Adapter_Exception: SQLSTATE[HY000] [1040] Too many connections in /home/test2/www/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /home/test2/www/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /home/test2/www/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(424): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /home/test2/www/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /home/test2/www/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query() #4 /home/test2/www/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(560): Zend_Db_Adapter_Pdo_Abstract->query() #5 /home/test2/www/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(627): Magento\Framework\DB\Adapter\Pdo\Mysql->_query() #6 /home/test2/www/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(95): Magento\Framework\DB\Adapter\Pdo\Mysql->query() #7 /home/test2/www/vendor/magento/framework/Lock/Backend/Database.php(84): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->query() #8 /home/test2/www/vendor/magento/framework/Cache/LockGuardedCacheLoader.php(134): Magento\Framework\Lock\Backend\Database->lock() #9 /home/test2/www/vendor/magento/module-config/App/Config/Type/System.php(281): Magento\Framework\Cache\LockGuardedCacheLoader->lockedLoadData() #10 /home/test2/www/vendor/magento/module-config/App/Config/Type/System.php(207): Magento\Config\App\Config\Type\System->loadDefaultScopeData() #11 /home/test2/www/vendor/magento/module-config/App/Config/Type/System.php(181): Magento\Config\App\Config\Type\System->getWithParts() #12 /home/test2/www/vendor/magento/framework/App/Config.php(132): Magento\Config\App\Config\Type\System->get() #13 /home/test2/www/vendor/magento/framework/App/Config.php(80): Magento\Framework\App\Config->get() #14 /home/test2/www/vendor/magento/framework/App/Config.php(93): Magento\Framework\App\Config->getValue() #15 /home/test2/www/vendor/magento/module-store/Model/HeaderProvider/Hsts.php(50): Magento\Framework\App\Config->isSetFlag() #16 /home/test2/www/vendor/magento/framework/App/Response/HeaderManager.php(42): Magento\Store\Model\HeaderProvider\Hsts->canApply() #17 /home/test2/www/vendor/magento/framework/Interception/Interceptor.php(121): Magento\Framework\App\Response\HeaderManager->beforeSendResponse() #18 /home/test2/www/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #19 /home/test2/www/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(23): Magento\Framework\App\Response\Http\Interceptor->___callPlugins() #20 /home/test2/www/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #21 /home/test2/www/vendor/magento/framework/App/ExceptionHandler.php(70): Magento\Framework\App\ExceptionHandler->handleDeveloperMode() #22 /home/test2/www/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\ExceptionHandler->handle() #23 /home/test2/www/vendor/magento/framework/App/Bootstrap.php(269): Magento\Framework\App\Http->catchException() #24 /home/test2/www/pub/index.php(29): Magento\Framework\App\Bootstrap->run() #25 {main}