PDOException: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/html/magento2/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /var/www/html/magento2/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct('mysql:host=yahu...', 'yahuibio', '7g+dVdmEA=x3Eh&...', Array) #1 /var/www/html/magento2/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /var/www/html/magento2/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(406): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /var/www/html/magento2/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /var/www/html/magento2/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `store_w...', Array) #5 /var/www/html/magento2/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(542): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `store_w...', Array) #6 /var/www/html/magento2/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(617): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `store_w...', Array) #7 /var/www/html/magento2/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array) #8 /var/www/html/magento2/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(87): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select)) #9 /var/www/html/magento2/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(57): Magento\Store\App\Config\Source\RuntimeConfigSource->getEntities('store_website', 'code') #10 /var/www/html/magento2/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Store\App\Config\Source\RuntimeConfigSource->get('') #11 /var/www/html/magento2/generated/code/Magento/Framework/App/Config/ConfigSourceAggregated/Proxy.php(95): Magento\Framework\App\Config\ConfigSourceAggregated->get('') #12 /var/www/html/magento2/vendor/magento/module-store/App/Config/Type/Scopes.php(63): Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() #13 /var/www/html/magento2/vendor/magento/framework/App/Config.php(131): Magento\Store\App\Config\Type\Scopes->get('stores/1') #14 /var/www/html/magento2/generated/code/Magento/Framework/App/Config/Interceptor.php(63): Magento\Framework\App\Config->get('scopes', 'stores/1', Array) #15 /var/www/html/magento2/vendor/magento/module-store/Model/StoreRepository.php(106): Magento\Framework\App\Config\Interceptor->get('scopes', 'stores/1', Array) #16 /var/www/html/magento2/vendor/magento/module-store/Model/StoreRepository.php(127): Magento\Store\Model\StoreRepository->getById('1') #17 /var/www/html/magento2/vendor/magento/module-store/Model/StoreResolver.php(181): Magento\Store\Model\StoreRepository->getActiveStoreById('1') #18 /var/www/html/magento2/vendor/magento/module-store/Model/StoreResolver.php(126): Magento\Store\Model\StoreResolver->getDefaultStoreById('1') #19 /var/www/html/magento2/vendor/magento/module-store/Model/StoreManager.php(160): Magento\Store\Model\StoreResolver->getCurrentStoreId() #20 /var/www/html/magento2/app/code/MGS/ThemeSettings/Model/App/Config.php(52): Magento\Store\Model\StoreManager->getStore() #21 /var/www/html/magento2/vendor/magento/framework/Interception/Interceptor.php(135): MGS\ThemeSettings\Model\App\Config->aroundGetValue(Object(Magento\Framework\App\Config\Interceptor), Object(Closure), 'newrelicreporti...', 'default', NULL) #22 /var/www/html/magento2/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Config\Interceptor->Magento\Framework\Interception\{closure}('newrelicreporti...', 'default', NULL) #23 /var/www/html/magento2/generated/code/Magento/Framework/App/Config/Interceptor.php(26): Magento\Framework\App\Config\Interceptor->___callPlugins('getValue', Array, NULL) #24 /var/www/html/magento2/vendor/magento/framework/App/Config.php(93): Magento\Framework\App\Config\Interceptor->getValue('newrelicreporti...', 'default', NULL) #25 /var/www/html/magento2/generated/code/Magento/Framework/App/Config/Interceptor.php(37): Magento\Framework\App\Config->isSetFlag('newrelicreporti...', 'default', NULL) #26 /var/www/html/magento2/vendor/magento/module-new-relic-reporting/Model/Config.php(94): Magento\Framework\App\Config\Interceptor->isSetFlag('newrelicreporti...') #27 /var/www/html/magento2/vendor/magento/module-new-relic-reporting/Plugin/HttpPlugin.php(49): Magento\NewRelicReporting\Model\Config->isNewRelicEnabled() #28 /var/www/html/magento2/vendor/magento/framework/Interception/Interceptor.php(121): Magento\NewRelicReporting\Plugin\HttpPlugin->beforeCatchException(Object(Magento\Framework\App\Http\Interceptor), Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #29 /var/www/html/magento2/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #30 /var/www/html/magento2/generated/code/Magento/Framework/App/Http/Interceptor.php(39): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #31 /var/www/html/magento2/vendor/magento/framework/App/Bootstrap.php(264): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #32 /var/www/html/magento2/pub/index.php(40): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #33 {main} Next PDOException: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/html/magento2/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /var/www/html/magento2/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct('mysql:host=yahu...', 'yahuibio', '7g+dVdmEA=x3Eh&...', Array) #1 /var/www/html/magento2/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /var/www/html/magento2/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(406): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /var/www/html/magento2/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /var/www/html/magento2/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `store_w...', Array) #5 /var/www/html/magento2/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(542): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `store_w...', Array) #6 /var/www/html/magento2/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(617): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `store_w...', Array) #7 /var/www/html/magento2/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array) #8 /var/www/html/magento2/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(87): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select)) #9 /var/www/html/magento2/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(57): Magento\Store\App\Config\Source\RuntimeConfigSource->getEntities('store_website', 'code') #10 /var/www/html/magento2/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Store\App\Config\Source\RuntimeConfigSource->get('') #11 /var/www/html/magento2/generated/code/Magento/Framework/App/Config/ConfigSourceAggregated/Proxy.php(95): Magento\Framework\App\Config\ConfigSourceAggregated->get('') #12 /var/www/html/magento2/vendor/magento/module-store/App/Config/Type/Scopes.php(63): Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() #13 /var/www/html/magento2/vendor/magento/framework/App/Config.php(131): Magento\Store\App\Config\Type\Scopes->get('stores/1') #14 /var/www/html/magento2/generated/code/Magento/Framework/App/Config/Interceptor.php(63): Magento\Framework\App\Config->get('scopes', 'stores/1', Array) #15 /var/www/html/magento2/vendor/magento/module-store/Model/StoreRepository.php(106): Magento\Framework\App\Config\Interceptor->get('scopes', 'stores/1', Array) #16 /var/www/html/magento2/vendor/magento/module-store/Model/StoreRepository.php(127): Magento\Store\Model\StoreRepository->getById('1') #17 /var/www/html/magento2/vendor/magento/module-store/Model/StoreResolver.php(181): Magento\Store\Model\StoreRepository->getActiveStoreById('1') #18 /var/www/html/magento2/vendor/magento/module-store/Model/StoreResolver.php(126): Magento\Store\Model\StoreResolver->getDefaultStoreById('1') #19 /var/www/html/magento2/vendor/magento/module-store/Model/StoreManager.php(160): Magento\Store\Model\StoreResolver->getCurrentStoreId() #20 /var/www/html/magento2/app/code/MGS/ThemeSettings/Model/App/Config.php(52): Magento\Store\Model\StoreManager->getStore() #21 /var/www/html/magento2/vendor/magento/framework/Interception/Interceptor.php(135): MGS\ThemeSettings\Model\App\Config->aroundGetValue(Object(Magento\Framework\App\Config\Interceptor), Object(Closure), 'newrelicreporti...', 'default', NULL) #22 /var/www/html/magento2/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Config\Interceptor->Magento\Framework\Interception\{closure}('newrelicreporti...', 'default', NULL) #23 /var/www/html/magento2/generated/code/Magento/Framework/App/Config/Interceptor.php(26): Magento\Framework\App\Config\Interceptor->___callPlugins('getValue', Array, NULL) #24 /var/www/html/magento2/vendor/magento/framework/App/Config.php(93): Magento\Framework\App\Config\Interceptor->getValue('newrelicreporti...', 'default', NULL) #25 /var/www/html/magento2/generated/code/Magento/Framework/App/Config/Interceptor.php(37): Magento\Framework\App\Config->isSetFlag('newrelicreporti...', 'default', NULL) #26 /var/www/html/magento2/vendor/magento/module-new-relic-reporting/Model/Config.php(94): Magento\Framework\App\Config\Interceptor->isSetFlag('newrelicreporti...') #27 /var/www/html/magento2/vendor/magento/module-new-relic-reporting/Plugin/HttpPlugin.php(49): Magento\NewRelicReporting\Model\Config->isNewRelicEnabled() #28 /var/www/html/magento2/vendor/magento/framework/Interception/Interceptor.php(121): Magento\NewRelicReporting\Plugin\HttpPlugin->beforeCatchException(Object(Magento\Framework\App\Http\Interceptor), Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #29 /var/www/html/magento2/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #30 /var/www/html/magento2/generated/code/Magento/Framework/App/Http/Interceptor.php(39): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #31 /var/www/html/magento2/vendor/magento/framework/App/Bootstrap.php(264): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #32 /var/www/html/magento2/pub/index.php(40): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #33 {main} Next Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name or service not known in /var/www/html/magento2/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /var/www/html/magento2/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /var/www/html/magento2/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(406): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /var/www/html/magento2/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /var/www/html/magento2/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `store_w...', Array) #4 /var/www/html/magento2/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(542): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `store_w...', Array) #5 /var/www/html/magento2/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(617): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `store_w...', Array) #6 /var/www/html/magento2/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array) #7 /var/www/html/magento2/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(87): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select)) #8 /var/www/html/magento2/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(57): Magento\Store\App\Config\Source\RuntimeConfigSource->getEntities('store_website', 'code') #9 /var/www/html/magento2/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Store\App\Config\Source\RuntimeConfigSource->get('') #10 /var/www/html/magento2/generated/code/Magento/Framework/App/Config/ConfigSourceAggregated/Proxy.php(95): Magento\Framework\App\Config\ConfigSourceAggregated->get('') #11 /var/www/html/magento2/vendor/magento/module-store/App/Config/Type/Scopes.php(63): Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() #12 /var/www/html/magento2/vendor/magento/framework/App/Config.php(131): Magento\Store\App\Config\Type\Scopes->get('stores/1') #13 /var/www/html/magento2/generated/code/Magento/Framework/App/Config/Interceptor.php(63): Magento\Framework\App\Config->get('scopes', 'stores/1', Array) #14 /var/www/html/magento2/vendor/magento/module-store/Model/StoreRepository.php(106): Magento\Framework\App\Config\Interceptor->get('scopes', 'stores/1', Array) #15 /var/www/html/magento2/vendor/magento/module-store/Model/StoreRepository.php(127): Magento\Store\Model\StoreRepository->getById('1') #16 /var/www/html/magento2/vendor/magento/module-store/Model/StoreResolver.php(181): Magento\Store\Model\StoreRepository->getActiveStoreById('1') #17 /var/www/html/magento2/vendor/magento/module-store/Model/StoreResolver.php(126): Magento\Store\Model\StoreResolver->getDefaultStoreById('1') #18 /var/www/html/magento2/vendor/magento/module-store/Model/StoreManager.php(160): Magento\Store\Model\StoreResolver->getCurrentStoreId() #19 /var/www/html/magento2/app/code/MGS/ThemeSettings/Model/App/Config.php(52): Magento\Store\Model\StoreManager->getStore() #20 /var/www/html/magento2/vendor/magento/framework/Interception/Interceptor.php(135): MGS\ThemeSettings\Model\App\Config->aroundGetValue(Object(Magento\Framework\App\Config\Interceptor), Object(Closure), 'newrelicreporti...', 'default', NULL) #21 /var/www/html/magento2/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Config\Interceptor->Magento\Framework\Interception\{closure}('newrelicreporti...', 'default', NULL) #22 /var/www/html/magento2/generated/code/Magento/Framework/App/Config/Interceptor.php(26): Magento\Framework\App\Config\Interceptor->___callPlugins('getValue', Array, NULL) #23 /var/www/html/magento2/vendor/magento/framework/App/Config.php(93): Magento\Framework\App\Config\Interceptor->getValue('newrelicreporti...', 'default', NULL) #24 /var/www/html/magento2/generated/code/Magento/Framework/App/Config/Interceptor.php(37): Magento\Framework\App\Config->isSetFlag('newrelicreporti...', 'default', NULL) #25 /var/www/html/magento2/vendor/magento/module-new-relic-reporting/Model/Config.php(94): Magento\Framework\App\Config\Interceptor->isSetFlag('newrelicreporti...') #26 /var/www/html/magento2/vendor/magento/module-new-relic-reporting/Plugin/HttpPlugin.php(49): Magento\NewRelicReporting\Model\Config->isNewRelicEnabled() #27 /var/www/html/magento2/vendor/magento/framework/Interception/Interceptor.php(121): Magento\NewRelicReporting\Plugin\HttpPlugin->beforeCatchException(Object(Magento\Framework\App\Http\Interceptor), Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #28 /var/www/html/magento2/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #29 /var/www/html/magento2/generated/code/Magento/Framework/App/Http/Interceptor.php(39): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #30 /var/www/html/magento2/vendor/magento/framework/App/Bootstrap.php(264): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #31 /var/www/html/magento2/pub/index.php(40): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #32 {main}