Zend_Db_Adapter_Exception: No host configured to connect in /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php:338 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 `main_ta...', Array) #2 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(465): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `main_ta...', Array) #3 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(520): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `main_ta...', 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/framework/Data/Collection/Db/FetchStrategy/Query.php(21): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select), Array) #6 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Data/Collection/AbstractDb.php(772): Magento\Framework\Data\Collection\Db\FetchStrategy\Query->fetchAll(Object(Magento\Framework\DB\Select), Array) #7 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Data/Collection/AbstractDb.php(668): Magento\Framework\Data\Collection\AbstractDb->_fetchAll(Object(Magento\Framework\DB\Select)) #8 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Data/Collection/AbstractDb.php(572): Magento\Framework\Data\Collection\AbstractDb->getData() #9 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Data/Collection/AbstractDb.php(557): Magento\Framework\Data\Collection\AbstractDb->loadWithFilter(false, false) #10 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Data/Collection.php(820): Magento\Framework\Data\Collection\AbstractDb->load() #11 /opt/bitnami/apps/magento/htdocs/vendor/magento/module-config/App/Config/Source/RuntimeConfigSource.php(78): Magento\Framework\Data\Collection->getIterator() #12 /opt/bitnami/apps/magento/htdocs/vendor/magento/module-config/App/Config/Source/RuntimeConfigSource.php(58): Magento\Config\App\Config\Source\RuntimeConfigSource->loadConfig() #13 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Config\App\Config\Source\RuntimeConfigSource->get('') #14 /opt/bitnami/apps/magento/htdocs/var/generation/Magento/Framework/App/Config/ConfigSourceAggregated/Proxy.php(95): Magento\Framework\App\Config\ConfigSourceAggregated->get('') #15 /opt/bitnami/apps/magento/htdocs/vendor/magento/module-config/App/Config/Type/System.php(161): Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() #16 /opt/bitnami/apps/magento/htdocs/vendor/magento/module-config/App/Config/Type/System.php(112): Magento\Config\App\Config\Type\System->loadConfig() #17 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/App/Config.php(139): Magento\Config\App\Config\Type\System->get('default/web/sec...') #18 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/App/Config.php(90): Magento\Framework\App\Config->get('system', 'default/web/sec...') #19 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/App/Config.php(103): Magento\Framework\App\Config->getValue('web/secure/use_...', 'default', NULL) #20 /opt/bitnami/apps/magento/htdocs/vendor/magento/module-store/Model/HeaderProvider/Hsts.php(48): Magento\Framework\App\Config->isSetFlag('web/secure/use_...') #21 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/App/Response/HeaderManager.php(41): Magento\Store\Model\HeaderProvider\Hsts->canApply() #22 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/Interception/Interceptor.php(123): Magento\Framework\App\Response\HeaderManager->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #23 /opt/bitnami/apps/magento/htdocs/var/generation/Magento/Framework/App/Response/Http/Interceptor.php(26): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #24 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/App/Http.php(185): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #25 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\Http->handleDeveloperMode(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #26 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/App/Bootstrap.php(263): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #27 /opt/bitnami/apps/magento/htdocs/index.php(46): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http)) #28 {main}