PDOException: SQLSTATE[HY000] [2002] Connection refused in /home/shiraesthe2nao9/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /home/shiraesthe2nao9/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct('mysql:host=loca...', 'shiraesthe2nao9', 'fBZxB7wr1A8mtdx...', Array) #1 /home/shiraesthe2nao9/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /home/shiraesthe2nao9/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(410): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /home/shiraesthe2nao9/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /home/shiraesthe2nao9/public_html/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(1636): Zend_Db_Adapter_Abstract->quote('store_website', NULL) #5 /home/shiraesthe2nao9/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(1181): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->quote('store_website') #6 /home/shiraesthe2nao9/public_html/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(271): Magento\Framework\DB\Adapter\Pdo\Mysql->showTableStatus('store_website', NULL) #7 /home/shiraesthe2nao9/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(2618): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->showTableStatus('store_website', NULL) #8 /home/shiraesthe2nao9/public_html/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(700): Magento\Framework\DB\Adapter\Pdo\Mysql->isTableExists('store_website', NULL) #9 /home/shiraesthe2nao9/public_html/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(92): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->isTableExists('store_website') #10 /home/shiraesthe2nao9/public_html/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(58): Magento\Store\App\Config\Source\RuntimeConfigSource->getEntities('store_website', 'code') #11 /home/shiraesthe2nao9/public_html/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Store\App\Config\Source\RuntimeConfigSource->get('') #12 /home/shiraesthe2nao9/public_html/generated/code/Magento/Framework/App/Config/ConfigSourceAggregated/Proxy.php(95): Magento\Framework\App\Config\ConfigSourceAggregated->get('') #13 /home/shiraesthe2nao9/public_html/vendor/magento/module-store/App/Config/Type/Scopes.php(63): Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() #14 /home/shiraesthe2nao9/public_html/vendor/magento/framework/App/Config.php(132): Magento\Store\App\Config\Type\Scopes->get('stores/1') #15 /home/shiraesthe2nao9/public_html/vendor/magento/module-store/Model/StoreRepository.php(106): Magento\Framework\App\Config->get('scopes', 'stores/1', Array) #16 /home/shiraesthe2nao9/public_html/vendor/magento/module-store/Model/StoreRepository.php(127): Magento\Store\Model\StoreRepository->getById('1') #17 /home/shiraesthe2nao9/public_html/vendor/magento/module-store/Model/StoreResolver.php(181): Magento\Store\Model\StoreRepository->getActiveStoreById('1') #18 /home/shiraesthe2nao9/public_html/vendor/magento/module-store/Model/StoreResolver.php(126): Magento\Store\Model\StoreResolver->getDefaultStoreById('1') #19 /home/shiraesthe2nao9/public_html/vendor/magento/module-store/Model/StoreManager.php(160): Magento\Store\Model\StoreResolver->getCurrentStoreId() #20 /home/shiraesthe2nao9/public_html/generated/code/Magento/Store/Model/StoreManagerInterface/Proxy.php(119): Magento\Store\Model\StoreManager->getStore(NULL) #21 /home/shiraesthe2nao9/public_html/vendor/magento/module-store/Model/Resolver/Store.php(30): Magento\Store\Model\StoreManagerInterface\Proxy->getStore(NULL) #22 /home/shiraesthe2nao9/public_html/vendor/magento/framework/App/Config/ScopeCodeResolver.php(49): Magento\Store\Model\Resolver\Store->getScope(NULL) #23 /home/shiraesthe2nao9/public_html/vendor/magento/framework/App/Config.php(69): Magento\Framework\App\Config\ScopeCodeResolver->resolve('stores', NULL) #24 /home/shiraesthe2nao9/public_html/vendor/magento/framework/App/Config.php(93): Magento\Framework\App\Config->getValue('amblog/accelera...', 'stores', NULL) #25 /home/shiraesthe2nao9/public_html/vendor/amasty/blog/Helper/Data.php(55): Magento\Framework\App\Config->isSetFlag('amblog/accelera...', 'store') #26 /home/shiraesthe2nao9/public_html/vendor/amasty/blog/Helper/Data.php(64): Amasty\Blog\Helper\Data->isAmpEnable() #27 /home/shiraesthe2nao9/public_html/vendor/amasty/blog/Plugin/Theme/Controller/Result/JsFooterPlugin/SkipMovingJsPlugin.php(45): Amasty\Blog\Helper\Data->isCurrentPageAmp() #28 /home/shiraesthe2nao9/public_html/vendor/magento/framework/Interception/Interceptor.php(198): Amasty\Blog\Plugin\Theme\Controller\Result\JsFooterPlugin\SkipMovingJsPlugin->aroundBeforeSendResponse(Object(Magento\Theme\Controller\Result\JsFooterPlugin\Interceptor), Object(Closure), Object(Magento\Framework\App\Response\Http\Interceptor)) #29 /home/shiraesthe2nao9/public_html/vendor/magento/framework/Interception/Interceptor.php(216): Magento\Theme\Controller\Result\JsFooterPlugin\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Response\Http\Interceptor)) #30 /home/shiraesthe2nao9/public_html/generated/code/Magento/Theme/Controller/Result/JsFooterPlugin/Interceptor.php(26): Magento\Theme\Controller\Result\JsFooterPlugin\Interceptor->___callPlugins('beforeSendRespo...', Array, NULL) #31 /home/shiraesthe2nao9/public_html/vendor/magento/framework/Interception/Interceptor.php(184): Magento\Theme\Controller\Result\JsFooterPlugin\Interceptor->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #32 /home/shiraesthe2nao9/public_html/vendor/magento/framework/Interception/Interceptor.php(216): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #33 /home/shiraesthe2nao9/public_html/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(117): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #34 /home/shiraesthe2nao9/public_html/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #35 /home/shiraesthe2nao9/public_html/vendor/magento/framework/App/ExceptionHandler.php(70): Magento\Framework\App\ExceptionHandler->handleDeveloperMode(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception), Object(Magento\Framework\App\Response\Http\Interceptor)) #36 /home/shiraesthe2nao9/public_html/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\ExceptionHandler->handle(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception), Object(Magento\Framework\App\Response\Http\Interceptor), Object(Magento\Framework\App\Request\Http)) #37 /home/shiraesthe2nao9/public_html/vendor/magento/framework/Interception/Interceptor.php(60): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #38 /home/shiraesthe2nao9/public_html/vendor/magento/framework/Interception/Interceptor.php(201): Magento\Framework\App\Http\Interceptor->___callParent('catchException', Array) #39 /home/shiraesthe2nao9/public_html/vendor/magento/framework/Interception/Interceptor.php(216): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #40 /home/shiraesthe2nao9/public_html/generated/code/Magento/Framework/App/Http/Interceptor.php(39): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #41 /home/shiraesthe2nao9/public_html/vendor/magento/framework/App/Bootstrap.php(267): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #42 /home/shiraesthe2nao9/public_html/pub/index.php(40): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #43 {main} Next Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] Connection refused in /home/shiraesthe2nao9/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /home/shiraesthe2nao9/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /home/shiraesthe2nao9/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(410): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /home/shiraesthe2nao9/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /home/shiraesthe2nao9/public_html/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(1636): Zend_Db_Adapter_Abstract->quote('store_website', NULL) #4 /home/shiraesthe2nao9/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(1181): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->quote('store_website') #5 /home/shiraesthe2nao9/public_html/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(271): Magento\Framework\DB\Adapter\Pdo\Mysql->showTableStatus('store_website', NULL) #6 /home/shiraesthe2nao9/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(2618): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->showTableStatus('store_website', NULL) #7 /home/shiraesthe2nao9/public_html/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(700): Magento\Framework\DB\Adapter\Pdo\Mysql->isTableExists('store_website', NULL) #8 /home/shiraesthe2nao9/public_html/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(92): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->isTableExists('store_website') #9 /home/shiraesthe2nao9/public_html/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(58): Magento\Store\App\Config\Source\RuntimeConfigSource->getEntities('store_website', 'code') #10 /home/shiraesthe2nao9/public_html/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Store\App\Config\Source\RuntimeConfigSource->get('') #11 /home/shiraesthe2nao9/public_html/generated/code/Magento/Framework/App/Config/ConfigSourceAggregated/Proxy.php(95): Magento\Framework\App\Config\ConfigSourceAggregated->get('') #12 /home/shiraesthe2nao9/public_html/vendor/magento/module-store/App/Config/Type/Scopes.php(63): Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() #13 /home/shiraesthe2nao9/public_html/vendor/magento/framework/App/Config.php(132): Magento\Store\App\Config\Type\Scopes->get('stores/1') #14 /home/shiraesthe2nao9/public_html/vendor/magento/module-store/Model/StoreRepository.php(106): Magento\Framework\App\Config->get('scopes', 'stores/1', Array) #15 /home/shiraesthe2nao9/public_html/vendor/magento/module-store/Model/StoreRepository.php(127): Magento\Store\Model\StoreRepository->getById('1') #16 /home/shiraesthe2nao9/public_html/vendor/magento/module-store/Model/StoreResolver.php(181): Magento\Store\Model\StoreRepository->getActiveStoreById('1') #17 /home/shiraesthe2nao9/public_html/vendor/magento/module-store/Model/StoreResolver.php(126): Magento\Store\Model\StoreResolver->getDefaultStoreById('1') #18 /home/shiraesthe2nao9/public_html/vendor/magento/module-store/Model/StoreManager.php(160): Magento\Store\Model\StoreResolver->getCurrentStoreId() #19 /home/shiraesthe2nao9/public_html/generated/code/Magento/Store/Model/StoreManagerInterface/Proxy.php(119): Magento\Store\Model\StoreManager->getStore(NULL) #20 /home/shiraesthe2nao9/public_html/vendor/magento/module-store/Model/Resolver/Store.php(30): Magento\Store\Model\StoreManagerInterface\Proxy->getStore(NULL) #21 /home/shiraesthe2nao9/public_html/vendor/magento/framework/App/Config/ScopeCodeResolver.php(49): Magento\Store\Model\Resolver\Store->getScope(NULL) #22 /home/shiraesthe2nao9/public_html/vendor/magento/framework/App/Config.php(69): Magento\Framework\App\Config\ScopeCodeResolver->resolve('stores', NULL) #23 /home/shiraesthe2nao9/public_html/vendor/magento/framework/App/Config.php(93): Magento\Framework\App\Config->getValue('amblog/accelera...', 'stores', NULL) #24 /home/shiraesthe2nao9/public_html/vendor/amasty/blog/Helper/Data.php(55): Magento\Framework\App\Config->isSetFlag('amblog/accelera...', 'store') #25 /home/shiraesthe2nao9/public_html/vendor/amasty/blog/Helper/Data.php(64): Amasty\Blog\Helper\Data->isAmpEnable() #26 /home/shiraesthe2nao9/public_html/vendor/amasty/blog/Plugin/Theme/Controller/Result/JsFooterPlugin/SkipMovingJsPlugin.php(45): Amasty\Blog\Helper\Data->isCurrentPageAmp() #27 /home/shiraesthe2nao9/public_html/vendor/magento/framework/Interception/Interceptor.php(198): Amasty\Blog\Plugin\Theme\Controller\Result\JsFooterPlugin\SkipMovingJsPlugin->aroundBeforeSendResponse(Object(Magento\Theme\Controller\Result\JsFooterPlugin\Interceptor), Object(Closure), Object(Magento\Framework\App\Response\Http\Interceptor)) #28 /home/shiraesthe2nao9/public_html/vendor/magento/framework/Interception/Interceptor.php(216): Magento\Theme\Controller\Result\JsFooterPlugin\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Response\Http\Interceptor)) #29 /home/shiraesthe2nao9/public_html/generated/code/Magento/Theme/Controller/Result/JsFooterPlugin/Interceptor.php(26): Magento\Theme\Controller\Result\JsFooterPlugin\Interceptor->___callPlugins('beforeSendRespo...', Array, NULL) #30 /home/shiraesthe2nao9/public_html/vendor/magento/framework/Interception/Interceptor.php(184): Magento\Theme\Controller\Result\JsFooterPlugin\Interceptor->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #31 /home/shiraesthe2nao9/public_html/vendor/magento/framework/Interception/Interceptor.php(216): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #32 /home/shiraesthe2nao9/public_html/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(117): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #33 /home/shiraesthe2nao9/public_html/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #34 /home/shiraesthe2nao9/public_html/vendor/magento/framework/App/ExceptionHandler.php(70): Magento\Framework\App\ExceptionHandler->handleDeveloperMode(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception), Object(Magento\Framework\App\Response\Http\Interceptor)) #35 /home/shiraesthe2nao9/public_html/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\ExceptionHandler->handle(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception), Object(Magento\Framework\App\Response\Http\Interceptor), Object(Magento\Framework\App\Request\Http)) #36 /home/shiraesthe2nao9/public_html/vendor/magento/framework/Interception/Interceptor.php(60): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #37 /home/shiraesthe2nao9/public_html/vendor/magento/framework/Interception/Interceptor.php(201): Magento\Framework\App\Http\Interceptor->___callParent('catchException', Array) #38 /home/shiraesthe2nao9/public_html/vendor/magento/framework/Interception/Interceptor.php(216): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #39 /home/shiraesthe2nao9/public_html/generated/code/Magento/Framework/App/Http/Interceptor.php(39): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #40 /home/shiraesthe2nao9/public_html/vendor/magento/framework/App/Bootstrap.php(267): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #41 /home/shiraesthe2nao9/public_html/pub/index.php(40): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #42 {main}