PDOException: SQLSTATE[HY000] [2002] Connection refused in /home/motorcyclerecycl/public_html/live/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /home/motorcyclerecycl/public_html/live/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct('mysql:host=loca...', 'motorcyclerecyc...', 'T[Xj6km>^L}I', Array) #1 /home/motorcyclerecycl/public_html/live/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /home/motorcyclerecycl/public_html/live/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(398): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /home/motorcyclerecycl/public_html/live/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /home/motorcyclerecycl/public_html/live/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `store_w...', Array) #5 /home/motorcyclerecycl/public_html/live/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(533): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `store_w...', Array) #6 /home/motorcyclerecycl/public_html/live/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(605): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `store_w...', Array) #7 /home/motorcyclerecycl/public_html/live/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array) #8 /home/motorcyclerecycl/public_html/live/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(87): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select)) #9 /home/motorcyclerecycl/public_html/live/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(57): Magento\Store\App\Config\Source\RuntimeConfigSource->getEntities('store_website', 'code') #10 /home/motorcyclerecycl/public_html/live/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Store\App\Config\Source\RuntimeConfigSource->get('') #11 /home/motorcyclerecycl/public_html/live/generated/code/Magento/Framework/App/Config/ConfigSourceAggregated/Proxy.php(95): Magento\Framework\App\Config\ConfigSourceAggregated->get('') #12 /home/motorcyclerecycl/public_html/live/vendor/magento/module-store/App/Config/Type/Scopes.php(63): Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() #13 /home/motorcyclerecycl/public_html/live/vendor/magento/framework/App/Config.php(131): Magento\Store\App\Config\Type\Scopes->get('websites') #14 /home/motorcyclerecycl/public_html/live/vendor/magento/module-store/Model/WebsiteRepository.php(182): Magento\Framework\App\Config->get('scopes', 'websites', Array) #15 /home/motorcyclerecycl/public_html/live/vendor/magento/module-store/Model/WebsiteRepository.php(141): Magento\Store\Model\WebsiteRepository->initDefaultWebsite() #16 /home/motorcyclerecycl/public_html/live/vendor/magento/module-store/Model/StoreResolver/Website.php(46): Magento\Store\Model\WebsiteRepository->getDefault() #17 /home/motorcyclerecycl/public_html/live/vendor/magento/module-store/Model/StoreResolver.php(140): Magento\Store\Model\StoreResolver\Website->getAllowedStoreIds(NULL) #18 /home/motorcyclerecycl/public_html/live/vendor/magento/module-store/Model/StoreResolver.php(126): Magento\Store\Model\StoreResolver->readStoresData() #19 /home/motorcyclerecycl/public_html/live/vendor/magento/module-store/Model/StoreResolver.php(89): Magento\Store\Model\StoreResolver->getStoresData() #20 /home/motorcyclerecycl/public_html/live/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Store\Model\StoreResolver->getCurrentStoreId() #21 /home/motorcyclerecycl/public_html/live/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Store\Model\StoreResolver\Interceptor->___callParent('getCurrentStore...', Array) #22 /home/motorcyclerecycl/public_html/live/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Store\Model\StoreResolver\Interceptor->Magento\Framework\Interception\{closure}() #23 /home/motorcyclerecycl/public_html/live/generated/code/Magento/Store/Model/StoreResolver/Interceptor.php(26): Magento\Store\Model\StoreResolver\Interceptor->___callPlugins('getCurrentStore...', Array, Array) #24 /home/motorcyclerecycl/public_html/live/vendor/magento/module-store/Model/StoreManager.php(157): Magento\Store\Model\StoreResolver\Interceptor->getCurrentStoreId() #25 /home/motorcyclerecycl/public_html/live/generated/code/Magento/Store/Model/StoreManagerInterface/Proxy.php(119): Magento\Store\Model\StoreManager->getStore(NULL) #26 /home/motorcyclerecycl/public_html/live/vendor/magento/module-store/Model/Resolver/Store.php(29): Magento\Store\Model\StoreManagerInterface\Proxy->getStore(NULL) #27 /home/motorcyclerecycl/public_html/live/vendor/magento/framework/App/Config/ScopeCodeResolver.php(49): Magento\Store\Model\Resolver\Store->getScope(NULL) #28 /home/motorcyclerecycl/public_html/live/vendor/magento/framework/App/Config.php(69): Magento\Framework\App\Config\ScopeCodeResolver->resolve('stores', NULL) #29 /home/motorcyclerecycl/public_html/live/vendor/magento/module-developer/Model/Logger/Handler/Debug.php(63): Magento\Framework\App\Config->getValue('dev/debug/debug...', 'stores') #30 /home/motorcyclerecycl/public_html/live/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(29): Magento\Developer\Model\Logger\Handler\Debug->isHandling(Array) #31 /home/motorcyclerecycl/public_html/live/vendor/monolog/monolog/src/Monolog/Logger.php(337): Monolog\Handler\AbstractProcessingHandler->handle(Array) #32 /home/motorcyclerecycl/public_html/live/vendor/magento/framework/Logger/Monolog.php(48): Monolog\Logger->addRecord(400, 'SQLSTATE[HY000]...', Array) #33 /home/motorcyclerecycl/public_html/live/vendor/monolog/monolog/src/Monolog/Logger.php(616): Magento\Framework\Logger\Monolog->addRecord(400, 'SQLSTATE[HY000]...', Array) #34 /home/motorcyclerecycl/public_html/live/vendor/magento/framework/App/Bootstrap.php(262): Monolog\Logger->error('SQLSTATE[HY000]...') #35 /home/motorcyclerecycl/public_html/live/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #36 {main} Next Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] Connection refused in /home/motorcyclerecycl/public_html/live/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /home/motorcyclerecycl/public_html/live/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /home/motorcyclerecycl/public_html/live/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(398): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /home/motorcyclerecycl/public_html/live/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /home/motorcyclerecycl/public_html/live/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `store_w...', Array) #4 /home/motorcyclerecycl/public_html/live/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(533): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `store_w...', Array) #5 /home/motorcyclerecycl/public_html/live/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(605): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `store_w...', Array) #6 /home/motorcyclerecycl/public_html/live/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array) #7 /home/motorcyclerecycl/public_html/live/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(87): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select)) #8 /home/motorcyclerecycl/public_html/live/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(57): Magento\Store\App\Config\Source\RuntimeConfigSource->getEntities('store_website', 'code') #9 /home/motorcyclerecycl/public_html/live/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Store\App\Config\Source\RuntimeConfigSource->get('') #10 /home/motorcyclerecycl/public_html/live/generated/code/Magento/Framework/App/Config/ConfigSourceAggregated/Proxy.php(95): Magento\Framework\App\Config\ConfigSourceAggregated->get('') #11 /home/motorcyclerecycl/public_html/live/vendor/magento/module-store/App/Config/Type/Scopes.php(63): Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() #12 /home/motorcyclerecycl/public_html/live/vendor/magento/framework/App/Config.php(131): Magento\Store\App\Config\Type\Scopes->get('websites') #13 /home/motorcyclerecycl/public_html/live/vendor/magento/module-store/Model/WebsiteRepository.php(182): Magento\Framework\App\Config->get('scopes', 'websites', Array) #14 /home/motorcyclerecycl/public_html/live/vendor/magento/module-store/Model/WebsiteRepository.php(141): Magento\Store\Model\WebsiteRepository->initDefaultWebsite() #15 /home/motorcyclerecycl/public_html/live/vendor/magento/module-store/Model/StoreResolver/Website.php(46): Magento\Store\Model\WebsiteRepository->getDefault() #16 /home/motorcyclerecycl/public_html/live/vendor/magento/module-store/Model/StoreResolver.php(140): Magento\Store\Model\StoreResolver\Website->getAllowedStoreIds(NULL) #17 /home/motorcyclerecycl/public_html/live/vendor/magento/module-store/Model/StoreResolver.php(126): Magento\Store\Model\StoreResolver->readStoresData() #18 /home/motorcyclerecycl/public_html/live/vendor/magento/module-store/Model/StoreResolver.php(89): Magento\Store\Model\StoreResolver->getStoresData() #19 /home/motorcyclerecycl/public_html/live/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Store\Model\StoreResolver->getCurrentStoreId() #20 /home/motorcyclerecycl/public_html/live/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Store\Model\StoreResolver\Interceptor->___callParent('getCurrentStore...', Array) #21 /home/motorcyclerecycl/public_html/live/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Store\Model\StoreResolver\Interceptor->Magento\Framework\Interception\{closure}() #22 /home/motorcyclerecycl/public_html/live/generated/code/Magento/Store/Model/StoreResolver/Interceptor.php(26): Magento\Store\Model\StoreResolver\Interceptor->___callPlugins('getCurrentStore...', Array, Array) #23 /home/motorcyclerecycl/public_html/live/vendor/magento/module-store/Model/StoreManager.php(157): Magento\Store\Model\StoreResolver\Interceptor->getCurrentStoreId() #24 /home/motorcyclerecycl/public_html/live/generated/code/Magento/Store/Model/StoreManagerInterface/Proxy.php(119): Magento\Store\Model\StoreManager->getStore(NULL) #25 /home/motorcyclerecycl/public_html/live/vendor/magento/module-store/Model/Resolver/Store.php(29): Magento\Store\Model\StoreManagerInterface\Proxy->getStore(NULL) #26 /home/motorcyclerecycl/public_html/live/vendor/magento/framework/App/Config/ScopeCodeResolver.php(49): Magento\Store\Model\Resolver\Store->getScope(NULL) #27 /home/motorcyclerecycl/public_html/live/vendor/magento/framework/App/Config.php(69): Magento\Framework\App\Config\ScopeCodeResolver->resolve('stores', NULL) #28 /home/motorcyclerecycl/public_html/live/vendor/magento/module-developer/Model/Logger/Handler/Debug.php(63): Magento\Framework\App\Config->getValue('dev/debug/debug...', 'stores') #29 /home/motorcyclerecycl/public_html/live/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(29): Magento\Developer\Model\Logger\Handler\Debug->isHandling(Array) #30 /home/motorcyclerecycl/public_html/live/vendor/monolog/monolog/src/Monolog/Logger.php(337): Monolog\Handler\AbstractProcessingHandler->handle(Array) #31 /home/motorcyclerecycl/public_html/live/vendor/magento/framework/Logger/Monolog.php(48): Monolog\Logger->addRecord(400, 'SQLSTATE[HY000]...', Array) #32 /home/motorcyclerecycl/public_html/live/vendor/monolog/monolog/src/Monolog/Logger.php(616): Magento\Framework\Logger\Monolog->addRecord(400, 'SQLSTATE[HY000]...', Array) #33 /home/motorcyclerecycl/public_html/live/vendor/magento/framework/App/Bootstrap.php(262): Monolog\Logger->error('SQLSTATE[HY000]...') #34 /home/motorcyclerecycl/public_html/live/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #35 {main}