PDOException: SQLSTATE[08004] [1040] Too many connections in /var/www/teslautopart/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /var/www/teslautopart/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct('mysql:host=loca...', 'root', 'Yx146Z$IZiph7bQ...', Array) #1 /var/www/teslautopart/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /var/www/teslautopart/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(410): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /var/www/teslautopart/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /var/www/teslautopart/public_html/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(1636): Zend_Db_Adapter_Abstract->quote('store_website', NULL) #5 /var/www/teslautopart/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(1181): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->quote('store_website') #6 /var/www/teslautopart/public_html/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(271): Magento\Framework\DB\Adapter\Pdo\Mysql->showTableStatus('store_website', NULL) #7 /var/www/teslautopart/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(2618): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->showTableStatus('store_website', NULL) #8 /var/www/teslautopart/public_html/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(700): Magento\Framework\DB\Adapter\Pdo\Mysql->isTableExists('store_website', NULL) #9 /var/www/teslautopart/public_html/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(92): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->isTableExists('store_website') #10 /var/www/teslautopart/public_html/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(58): Magento\Store\App\Config\Source\RuntimeConfigSource->getEntities('store_website', 'code') #11 /var/www/teslautopart/public_html/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Store\App\Config\Source\RuntimeConfigSource->get('') #12 /var/www/teslautopart/public_html/generated/code/Magento/Framework/App/Config/ConfigSourceAggregated/Proxy.php(95): Magento\Framework\App\Config\ConfigSourceAggregated->get('') #13 /var/www/teslautopart/public_html/vendor/magento/module-store/App/Config/Type/Scopes.php(63): Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() #14 /var/www/teslautopart/public_html/vendor/magento/framework/App/Config.php(132): Magento\Store\App\Config\Type\Scopes->get('stores/1') #15 /var/www/teslautopart/public_html/vendor/magento/module-store/Model/StoreRepository.php(106): Magento\Framework\App\Config->get('scopes', 'stores/1', Array) #16 /var/www/teslautopart/public_html/vendor/magento/module-store/Model/StoreRepository.php(127): Magento\Store\Model\StoreRepository->getById('1') #17 /var/www/teslautopart/public_html/vendor/magento/module-store/Model/StoreResolver.php(181): Magento\Store\Model\StoreRepository->getActiveStoreById('1') #18 /var/www/teslautopart/public_html/vendor/magento/module-store/Model/StoreResolver.php(126): Magento\Store\Model\StoreResolver->getDefaultStoreById('1') #19 /var/www/teslautopart/public_html/vendor/magento/module-store/Model/StoreManager.php(160): Magento\Store\Model\StoreResolver->getCurrentStoreId() #20 /var/www/teslautopart/public_html/generated/code/Magento/Store/Model/StoreManagerInterface/Proxy.php(119): Magento\Store\Model\StoreManager->getStore(NULL) #21 /var/www/teslautopart/public_html/vendor/magento/module-store/Model/Resolver/Store.php(30): Magento\Store\Model\StoreManagerInterface\Proxy->getStore(NULL) #22 /var/www/teslautopart/public_html/vendor/magento/framework/App/Config/ScopeCodeResolver.php(49): Magento\Store\Model\Resolver\Store->getScope(NULL) #23 /var/www/teslautopart/public_html/vendor/magento/framework/App/Config.php(69): Magento\Framework\App\Config\ScopeCodeResolver->resolve('stores', NULL) #24 /var/www/teslautopart/public_html/vendor/magento/framework/Session/Config.php(155): Magento\Framework\App\Config->getValue('web/cookie/cook...', 'stores') #25 /var/www/teslautopart/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Framework\Session\Config->__construct(Object(Magento\Framework\ValidatorFactory), Object(Magento\Framework\App\Config), Object(Magento\Framework\Stdlib\StringUtils), Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Filesystem), Object(Magento\Framework\App\DeploymentConfig), 'store', 'web/cookie/cook...') #26 /var/www/teslautopart/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #27 /var/www/teslautopart/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...') #28 /var/www/teslautopart/public_html/vendor/magento/framework/App/Response/Http.php(85): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Framewo...') #29 /var/www/teslautopart/public_html/vendor/magento/module-media-storage/Model/File/Storage/Response.php(47): Magento\Framework\App\Response\Http->__construct(Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Stdlib\Cookie\PhpCookieManager), Object(Magento\Framework\Stdlib\Cookie\CookieMetadataFactory), Object(Magento\Framework\App\Http\Context\Interceptor), Object(Magento\Framework\Stdlib\DateTime)) #30 /var/www/teslautopart/public_html/generated/code/Magento/MediaStorage/Model/File/Storage/Response/Interceptor.php(14): Magento\MediaStorage\Model\File\Storage\Response->__construct(Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Stdlib\Cookie\PhpCookieManager), Object(Magento\Framework\Stdlib\Cookie\CookieMetadataFactory), Object(Magento\Framework\App\Http\Context\Interceptor), Object(Magento\Framework\Stdlib\DateTime), Object(Magento\Framework\File\Transfer\Adapter\Http)) #31 /var/www/teslautopart/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\MediaStorage\Model\File\Storage\Response\Interceptor->__construct(Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Stdlib\Cookie\PhpCookieManager), Object(Magento\Framework\Stdlib\Cookie\CookieMetadataFactory), Object(Magento\Framework\App\Http\Context\Interceptor), Object(Magento\Framework\Stdlib\DateTime), Object(Magento\Framework\File\Transfer\Adapter\Http)) #32 /var/www/teslautopart/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\MediaSt...', Array) #33 /var/www/teslautopart/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\MediaSt...', Array) #34 /var/www/teslautopart/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(169): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\MediaSt...') #35 /var/www/teslautopart/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(273): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\Framewo...', NULL, 'response', 'Magento\\Framewo...') #36 /var/www/teslautopart/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(236): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument('Magento\\Framewo...', Array, Array) #37 /var/www/teslautopart/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Magento\\Framewo...', Array, Array) #38 /var/www/teslautopart/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\Framewo...', Array, Array) #39 /var/www/teslautopart/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...', Array) #40 /var/www/teslautopart/public_html/vendor/magento/framework/App/Bootstrap.php(235): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Framewo...', Array) #41 /var/www/teslautopart/public_html/pub/static.php(12): Magento\Framework\App\Bootstrap->createApplication('Magento\\Framewo...') #42 {main} Next Zend_Db_Adapter_Exception: SQLSTATE[08004] [1040] Too many connections in /var/www/teslautopart/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /var/www/teslautopart/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /var/www/teslautopart/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(410): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /var/www/teslautopart/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /var/www/teslautopart/public_html/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(1636): Zend_Db_Adapter_Abstract->quote('store_website', NULL) #4 /var/www/teslautopart/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(1181): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->quote('store_website') #5 /var/www/teslautopart/public_html/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(271): Magento\Framework\DB\Adapter\Pdo\Mysql->showTableStatus('store_website', NULL) #6 /var/www/teslautopart/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(2618): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->showTableStatus('store_website', NULL) #7 /var/www/teslautopart/public_html/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(700): Magento\Framework\DB\Adapter\Pdo\Mysql->isTableExists('store_website', NULL) #8 /var/www/teslautopart/public_html/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(92): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->isTableExists('store_website') #9 /var/www/teslautopart/public_html/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(58): Magento\Store\App\Config\Source\RuntimeConfigSource->getEntities('store_website', 'code') #10 /var/www/teslautopart/public_html/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Store\App\Config\Source\RuntimeConfigSource->get('') #11 /var/www/teslautopart/public_html/generated/code/Magento/Framework/App/Config/ConfigSourceAggregated/Proxy.php(95): Magento\Framework\App\Config\ConfigSourceAggregated->get('') #12 /var/www/teslautopart/public_html/vendor/magento/module-store/App/Config/Type/Scopes.php(63): Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() #13 /var/www/teslautopart/public_html/vendor/magento/framework/App/Config.php(132): Magento\Store\App\Config\Type\Scopes->get('stores/1') #14 /var/www/teslautopart/public_html/vendor/magento/module-store/Model/StoreRepository.php(106): Magento\Framework\App\Config->get('scopes', 'stores/1', Array) #15 /var/www/teslautopart/public_html/vendor/magento/module-store/Model/StoreRepository.php(127): Magento\Store\Model\StoreRepository->getById('1') #16 /var/www/teslautopart/public_html/vendor/magento/module-store/Model/StoreResolver.php(181): Magento\Store\Model\StoreRepository->getActiveStoreById('1') #17 /var/www/teslautopart/public_html/vendor/magento/module-store/Model/StoreResolver.php(126): Magento\Store\Model\StoreResolver->getDefaultStoreById('1') #18 /var/www/teslautopart/public_html/vendor/magento/module-store/Model/StoreManager.php(160): Magento\Store\Model\StoreResolver->getCurrentStoreId() #19 /var/www/teslautopart/public_html/generated/code/Magento/Store/Model/StoreManagerInterface/Proxy.php(119): Magento\Store\Model\StoreManager->getStore(NULL) #20 /var/www/teslautopart/public_html/vendor/magento/module-store/Model/Resolver/Store.php(30): Magento\Store\Model\StoreManagerInterface\Proxy->getStore(NULL) #21 /var/www/teslautopart/public_html/vendor/magento/framework/App/Config/ScopeCodeResolver.php(49): Magento\Store\Model\Resolver\Store->getScope(NULL) #22 /var/www/teslautopart/public_html/vendor/magento/framework/App/Config.php(69): Magento\Framework\App\Config\ScopeCodeResolver->resolve('stores', NULL) #23 /var/www/teslautopart/public_html/vendor/magento/framework/Session/Config.php(155): Magento\Framework\App\Config->getValue('web/cookie/cook...', 'stores') #24 /var/www/teslautopart/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\Framework\Session\Config->__construct(Object(Magento\Framework\ValidatorFactory), Object(Magento\Framework\App\Config), Object(Magento\Framework\Stdlib\StringUtils), Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Filesystem), Object(Magento\Framework\App\DeploymentConfig), 'store', 'web/cookie/cook...') #25 /var/www/teslautopart/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #26 /var/www/teslautopart/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...') #27 /var/www/teslautopart/public_html/vendor/magento/framework/App/Response/Http.php(85): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Framewo...') #28 /var/www/teslautopart/public_html/vendor/magento/module-media-storage/Model/File/Storage/Response.php(47): Magento\Framework\App\Response\Http->__construct(Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Stdlib\Cookie\PhpCookieManager), Object(Magento\Framework\Stdlib\Cookie\CookieMetadataFactory), Object(Magento\Framework\App\Http\Context\Interceptor), Object(Magento\Framework\Stdlib\DateTime)) #29 /var/www/teslautopart/public_html/generated/code/Magento/MediaStorage/Model/File/Storage/Response/Interceptor.php(14): Magento\MediaStorage\Model\File\Storage\Response->__construct(Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Stdlib\Cookie\PhpCookieManager), Object(Magento\Framework\Stdlib\Cookie\CookieMetadataFactory), Object(Magento\Framework\App\Http\Context\Interceptor), Object(Magento\Framework\Stdlib\DateTime), Object(Magento\Framework\File\Transfer\Adapter\Http)) #30 /var/www/teslautopart/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(121): Magento\MediaStorage\Model\File\Storage\Response\Interceptor->__construct(Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Stdlib\Cookie\PhpCookieManager), Object(Magento\Framework\Stdlib\Cookie\CookieMetadataFactory), Object(Magento\Framework\App\Http\Context\Interceptor), Object(Magento\Framework\Stdlib\DateTime), Object(Magento\Framework\File\Transfer\Adapter\Http)) #31 /var/www/teslautopart/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(66): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\MediaSt...', Array) #32 /var/www/teslautopart/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\MediaSt...', Array) #33 /var/www/teslautopart/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(169): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\MediaSt...') #34 /var/www/teslautopart/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(273): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgument(Array, 'Magento\\Framewo...', NULL, 'response', 'Magento\\Framewo...') #35 /var/www/teslautopart/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(236): Magento\Framework\ObjectManager\Factory\AbstractFactory->getResolvedArgument('Magento\\Framewo...', Array, Array) #36 /var/www/teslautopart/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(34): Magento\Framework\ObjectManager\Factory\AbstractFactory->resolveArgumentsInRuntime('Magento\\Framewo...', Array, Array) #37 /var/www/teslautopart/public_html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(59): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->_resolveArguments('Magento\\Framewo...', Array, Array) #38 /var/www/teslautopart/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(56): Magento\Framework\ObjectManager\Factory\Dynamic\Developer->create('Magento\\Framewo...', Array) #39 /var/www/teslautopart/public_html/vendor/magento/framework/App/Bootstrap.php(235): Magento\Framework\ObjectManager\ObjectManager->create('Magento\\Framewo...', Array) #40 /var/www/teslautopart/public_html/pub/static.php(12): Magento\Framework\App\Bootstrap->createApplication('Magento\\Framewo...') #41 {main}