Zend_Db_Adapter_Exception: No host configured to connect in /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:385 Stack trace: #0 /opt/bitnami/apps/magento/htdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #1 /opt/bitnami/apps/magento/htdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `store_w...', Array) #2 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(541): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `store_w...', Array) #3 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(615): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `store_w...', Array) #4 /opt/bitnami/apps/magento/htdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array) #5 /opt/bitnami/apps/magento/htdocs/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(87): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select)) #6 /opt/bitnami/apps/magento/htdocs/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(57): Magento\Store\App\Config\Source\RuntimeConfigSource->getEntities('store_website', 'code') #7 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Store\App\Config\Source\RuntimeConfigSource->get('') #8 /opt/bitnami/apps/magento/htdocs/generated/code/Magento/Framework/App/Config/ConfigSourceAggregated/Proxy.php(95): Magento\Framework\App\Config\ConfigSourceAggregated->get('') #9 /opt/bitnami/apps/magento/htdocs/vendor/magento/module-store/App/Config/Type/Scopes.php(63): Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() #10 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/App/Config.php(131): Magento\Store\App\Config\Type\Scopes->get('stores/1') #11 /opt/bitnami/apps/magento/htdocs/vendor/magento/module-store/Model/StoreRepository.php(106): Magento\Framework\App\Config->get('scopes', 'stores/1', Array) #12 /opt/bitnami/apps/magento/htdocs/vendor/magento/module-store/Model/StoreRepository.php(127): Magento\Store\Model\StoreRepository->getById('1') #13 /opt/bitnami/apps/magento/htdocs/vendor/magento/module-store/Model/StoreResolver.php(181): Magento\Store\Model\StoreRepository->getActiveStoreById('1') #14 /opt/bitnami/apps/magento/htdocs/vendor/magento/module-store/Model/StoreResolver.php(126): Magento\Store\Model\StoreResolver->getDefaultStoreById('1') #15 /opt/bitnami/apps/magento/htdocs/vendor/magento/module-store/Model/StoreManager.php(157): Magento\Store\Model\StoreResolver->getCurrentStoreId() #16 /opt/bitnami/apps/magento/htdocs/generated/code/Magento/Store/Model/StoreManagerInterface/Proxy.php(119): Magento\Store\Model\StoreManager->getStore(NULL) #17 /opt/bitnami/apps/magento/htdocs/vendor/magento/module-store/Model/Resolver/Store.php(30): Magento\Store\Model\StoreManagerInterface\Proxy->getStore(NULL) #18 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/App/Config/ScopeCodeResolver.php(49): Magento\Store\Model\Resolver\Store->getScope(NULL) #19 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/App/Config.php(69): Magento\Framework\App\Config\ScopeCodeResolver->resolve('stores', NULL) #20 /opt/bitnami/apps/magento/htdocs/vendor/magento/module-developer/Model/Logger/Handler/Debug.php(63): Magento\Framework\App\Config->getValue('dev/debug/debug...', 'stores') #21 /opt/bitnami/apps/magento/htdocs/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php(31): Magento\Developer\Model\Logger\Handler\Debug->isHandling(Array) #22 /opt/bitnami/apps/magento/htdocs/vendor/monolog/monolog/src/Monolog/Logger.php(344): Monolog\Handler\AbstractProcessingHandler->handle(Array) #23 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Logger/Monolog.php(48): Monolog\Logger->addRecord(400, 'SQLSTATE[HY000]...', Array) #24 /opt/bitnami/apps/magento/htdocs/vendor/monolog/monolog/src/Monolog/Logger.php(707): Magento\Framework\Logger\Monolog->addRecord(400, 'SQLSTATE[HY000]...', Array) #25 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/App/Bootstrap.php(263): Monolog\Logger->error('SQLSTATE[HY000]...') #26 /opt/bitnami/apps/magento/htdocs/index.php(39): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #27 {main}