2 exception(s): Exception #0 (Zend_Db_Adapter_Exception): SQLSTATE[HY000] [2002] Connection refused Exception #1 (PDOException): SQLSTATE[HY000] [2002] Connection refused Exception #0 (Zend_Db_Adapter_Exception): SQLSTATE[HY000] [2002] Connection refused
#1 Zend_Db_Adapter_Pdo_Mysql->_connect() called at [vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:413] #2 Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() called at [vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php:460] #3 Zend_Db_Adapter_Abstract->query('SELECT `mgex_sto...', array()) called at [vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:238] #4 Zend_Db_Adapter_Pdo_Abstract->query('SELECT `mgex_sto...', array()) called at [vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:549] #5 Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `mgex_sto...', array()) called at [vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:616] #6 Magento\Framework\DB\Adapter\Pdo\Mysql->query(&Magento\Framework\DB\Select#00000000338d938b000000004b492034#, array()) called at [generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php:128] #7 Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->query(&Magento\Framework\DB\Select#00000000338d938b000000004b492034#, array()) called at [vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php:737] #8 Zend_Db_Adapter_Abstract->fetchAll(&Magento\Framework\DB\Select#00000000338d938b000000004b492034#, array(), 2) called at [generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php:1558] #9 Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->fetchAll(&Magento\Framework\DB\Select#00000000338d938b000000004b492034#) called at [vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php:101] #10 Magento\Store\App\Config\Source\RuntimeConfigSource->getEntities('store_website', 'code') called at [vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php:61] #11 Magento\Store\App\Config\Source\RuntimeConfigSource->get('') called at [vendor/magento/framework/App/Config/ConfigSourceAggregated.php:40] #12 Magento\Framework\App\Config\ConfigSourceAggregated->get('') called at [generated/code/Magento/Framework/App/Config/ConfigSourceAggregated/Proxy.php:95] #13 Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() called at [vendor/magento/module-store/App/Config/Type/Scopes.php:63] #14 Magento\Store\App\Config\Type\Scopes->get('stores/1') called at [vendor/magento/framework/App/Config.php:132] #15 Magento\Framework\App\Config->get('scopes', 'stores/1', array()) called at [vendor/magento/module-store/Model/StoreRepository.php:106] #16 Magento\Store\Model\StoreRepository->getById(1) called at [vendor/magento/module-store/Model/StoreRepository.php:127] #17 Magento\Store\Model\StoreRepository->getActiveStoreById(1) called at [vendor/magento/module-store/Model/StoreResolver.php:181] #18 Magento\Store\Model\StoreResolver->getDefaultStoreById(1) called at [vendor/magento/module-store/Model/StoreResolver.php:126] #19 Magento\Store\Model\StoreResolver->getCurrentStoreId() called at [vendor/magento/module-store/Model/StoreManager.php:160] #20 Magento\Store\Model\StoreManager->getStore(NULL) called at [generated/code/Magento/Store/Model/StoreManagerInterface/Proxy.php:119] #21 Magento\Store\Model\StoreManagerInterface\Proxy->getStore(NULL) called at [vendor/magento/module-store/Model/Resolver/Store.php:30] #22 Magento\Store\Model\Resolver\Store->getScope(NULL) called at [vendor/magento/framework/App/Config/ScopeCodeResolver.php:49] #23 Magento\Framework\App\Config\ScopeCodeResolver->resolve('stores', NULL) called at [vendor/magento/framework/App/Config.php:69] #24 Magento\Framework\App\Config->getValue('admin/url/use_cu...', 'stores') called at [vendor/magento/module-backend/App/Area/FrontNameResolver.php:123] #25 Magento\Backend\App\Area\FrontNameResolver->isHostBackend() called at [vendor/magento/module-backend/App/Area/FrontNameResolver.php:106] #26 Magento\Backend\App\Area\FrontNameResolver->getFrontName(true) called at [vendor/magento/framework/App/AreaList.php:76] #27 Magento\Framework\App\AreaList->getCodeByFrontName('norfolk-sustaina...') called at [vendor/magento/framework/App/Http.php:111] #28 Magento\Framework\App\Http->launch() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:24] #29 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:261] #30 Magento\Framework\App\Bootstrap->run(&Magento\Framework\App\Http\Interceptor#00000000338d9273000000004b492034#) called at [index.php:39]Exception #1 (PDOException): SQLSTATE[HY000] [2002] Connection refused
#1 Zend_Db_Adapter_Pdo_Abstract->_connect() called at [vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php:111] #2 Zend_Db_Adapter_Pdo_Mysql->_connect() called at [vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:413] #3 Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() called at [vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php:460] #4 Zend_Db_Adapter_Abstract->query('SELECT `mgex_sto...', array()) called at [vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:238] #5 Zend_Db_Adapter_Pdo_Abstract->query('SELECT `mgex_sto...', array()) called at [vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:549] #6 Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `mgex_sto...', array()) called at [vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:616] #7 Magento\Framework\DB\Adapter\Pdo\Mysql->query(&Magento\Framework\DB\Select#00000000338d938b000000004b492034#, array()) called at [generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php:128] #8 Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->query(&Magento\Framework\DB\Select#00000000338d938b000000004b492034#, array()) called at [vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php:737] #9 Zend_Db_Adapter_Abstract->fetchAll(&Magento\Framework\DB\Select#00000000338d938b000000004b492034#, array(), 2) called at [generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php:1558] #10 Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->fetchAll(&Magento\Framework\DB\Select#00000000338d938b000000004b492034#) called at [vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php:101] #11 Magento\Store\App\Config\Source\RuntimeConfigSource->getEntities('store_website', 'code') called at [vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php:61] #12 Magento\Store\App\Config\Source\RuntimeConfigSource->get('') called at [vendor/magento/framework/App/Config/ConfigSourceAggregated.php:40] #13 Magento\Framework\App\Config\ConfigSourceAggregated->get('') called at [generated/code/Magento/Framework/App/Config/ConfigSourceAggregated/Proxy.php:95] #14 Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() called at [vendor/magento/module-store/App/Config/Type/Scopes.php:63] #15 Magento\Store\App\Config\Type\Scopes->get('stores/1') called at [vendor/magento/framework/App/Config.php:132] #16 Magento\Framework\App\Config->get('scopes', 'stores/1', array()) called at [vendor/magento/module-store/Model/StoreRepository.php:106] #17 Magento\Store\Model\StoreRepository->getById(1) called at [vendor/magento/module-store/Model/StoreRepository.php:127] #18 Magento\Store\Model\StoreRepository->getActiveStoreById(1) called at [vendor/magento/module-store/Model/StoreResolver.php:181] #19 Magento\Store\Model\StoreResolver->getDefaultStoreById(1) called at [vendor/magento/module-store/Model/StoreResolver.php:126] #20 Magento\Store\Model\StoreResolver->getCurrentStoreId() called at [vendor/magento/module-store/Model/StoreManager.php:160] #21 Magento\Store\Model\StoreManager->getStore(NULL) called at [generated/code/Magento/Store/Model/StoreManagerInterface/Proxy.php:119] #22 Magento\Store\Model\StoreManagerInterface\Proxy->getStore(NULL) called at [vendor/magento/module-store/Model/Resolver/Store.php:30] #23 Magento\Store\Model\Resolver\Store->getScope(NULL) called at [vendor/magento/framework/App/Config/ScopeCodeResolver.php:49] #24 Magento\Framework\App\Config\ScopeCodeResolver->resolve('stores', NULL) called at [vendor/magento/framework/App/Config.php:69] #25 Magento\Framework\App\Config->getValue('admin/url/use_cu...', 'stores') called at [vendor/magento/module-backend/App/Area/FrontNameResolver.php:123] #26 Magento\Backend\App\Area\FrontNameResolver->isHostBackend() called at [vendor/magento/module-backend/App/Area/FrontNameResolver.php:106] #27 Magento\Backend\App\Area\FrontNameResolver->getFrontName(true) called at [vendor/magento/framework/App/AreaList.php:76] #28 Magento\Framework\App\AreaList->getCodeByFrontName('norfolk-sustaina...') called at [vendor/magento/framework/App/Http.php:111] #29 Magento\Framework\App\Http->launch() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:24] #30 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:261] #31 Magento\Framework\App\Bootstrap->run(&Magento\Framework\App\Http\Interceptor#00000000338d9273000000004b492034#) called at [index.php:39]