PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct('mysql:host=loca...', 'devmag23', 'P34$qfb3', Array) #1 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(406): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `store_w...', Array) #5 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(542): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `store_w...', Array) #6 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(617): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `store_w...', Array) #7 /var/www/vhosts/mon-porte-clef.fr/httpdocs/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/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(87): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select)) #9 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(57): Magento\Store\App\Config\Source\RuntimeConfigSource->getEntities('store_website', 'code') #10 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Store\App\Config\Source\RuntimeConfigSource->get('') #11 /var/www/vhosts/mon-porte-clef.fr/httpdocs/generated/code/Magento/Framework/App/Config/ConfigSourceAggregated/Proxy.php(95): Magento\Framework\App\Config\ConfigSourceAggregated->get('') #12 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/module-store/App/Config/Type/Scopes.php(63): Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() #13 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/App/Config.php(131): Magento\Store\App\Config\Type\Scopes->get('stores/4') #14 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/module-store/Model/StoreRepository.php(106): Magento\Framework\App\Config->get('scopes', 'stores/4', Array) #15 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/module-store/Model/StoreRepository.php(127): Magento\Store\Model\StoreRepository->getById('4') #16 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/module-store/Model/StoreResolver.php(181): Magento\Store\Model\StoreRepository->getActiveStoreById('4') #17 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/module-store/Model/StoreResolver.php(126): Magento\Store\Model\StoreResolver->getDefaultStoreById('4') #18 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/module-store/Model/StoreManager.php(160): Magento\Store\Model\StoreResolver->getCurrentStoreId() #19 /var/www/vhosts/mon-porte-clef.fr/httpdocs/generated/code/Magento/Store/Model/StoreManagerInterface/Proxy.php(119): Magento\Store\Model\StoreManager->getStore(NULL) #20 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/module-store/Model/Resolver/Store.php(30): Magento\Store\Model\StoreManagerInterface\Proxy->getStore(NULL) #21 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/App/Config/ScopeCodeResolver.php(49): Magento\Store\Model\Resolver\Store->getScope(NULL) #22 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/App/Config.php(69): Magento\Framework\App\Config\ScopeCodeResolver->resolve('stores', NULL) #23 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/Session/Config.php(155): Magento\Framework\App\Config->getValue('web/cookie/cook...', 'stores') #24 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(116): Magento\Framework\Session\Config->__construct(Object(Magento\Framework\ValidatorFactory), Object(Magento\Framework\App\Config), Object(Magento\Framework\Stdlib\StringUtils), Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Filesystem), Object(Magento\Framework\App\DeploymentConfig), 'store', 'web/cookie/cook...') #25 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #26 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...') #27 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Framewo...') #28 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Checkou...') #29 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Checkou...') #30 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Persist...') #31 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Persist...') #32 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Persist...') #33 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/Interception/PluginList/PluginList.php(250): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Persist...') #34 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(119): Magento\Framework\Interception\PluginList\PluginList->getPlugin('Magento\\Framewo...', 'persistent_page...') #35 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Context\Interceptor->Magento\Framework\Interception\{closure}() #36 /var/www/vhosts/mon-porte-clef.fr/httpdocs/generated/code/Magento/Framework/App/Http/Context/Interceptor.php(26): Magento\Framework\App\Http\Context\Interceptor->___callPlugins('getVaryString', Array, Array) #37 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/App/Response/Http.php(109): Magento\Framework\App\Http\Context\Interceptor->getVaryString() #38 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/module-page-cache/Model/App/Response/HttpPlugin.php(25): Magento\Framework\App\Response\Http->sendVary() #39 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(121): Magento\PageCache\Model\App\Response\HttpPlugin->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #40 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #41 /var/www/vhosts/mon-porte-clef.fr/httpdocs/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(26): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #42 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/App/Http.php(206): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #43 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/App/Http.php(177): Magento\Framework\App\Http->handleDeveloperMode(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #44 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #45 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent('catchException', Array) #46 /var/www/vhosts/mon-porte-clef.fr/httpdocs/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)) #47 /var/www/vhosts/mon-porte-clef.fr/httpdocs/generated/code/Magento/Framework/App/Http/Interceptor.php(26): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #48 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/App/Bootstrap.php(267): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #49 /var/www/vhosts/mon-porte-clef.fr/httpdocs/index.php(83): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #50 {main} Next Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] Connection refused in /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(406): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `store_w...', Array) #4 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(542): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `store_w...', Array) #5 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(617): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `store_w...', Array) #6 /var/www/vhosts/mon-porte-clef.fr/httpdocs/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/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(87): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select)) #8 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/module-store/App/Config/Source/RuntimeConfigSource.php(57): Magento\Store\App\Config\Source\RuntimeConfigSource->getEntities('store_website', 'code') #9 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/App/Config/ConfigSourceAggregated.php(40): Magento\Store\App\Config\Source\RuntimeConfigSource->get('') #10 /var/www/vhosts/mon-porte-clef.fr/httpdocs/generated/code/Magento/Framework/App/Config/ConfigSourceAggregated/Proxy.php(95): Magento\Framework\App\Config\ConfigSourceAggregated->get('') #11 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/module-store/App/Config/Type/Scopes.php(63): Magento\Framework\App\Config\ConfigSourceAggregated\Proxy->get() #12 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/App/Config.php(131): Magento\Store\App\Config\Type\Scopes->get('stores/4') #13 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/module-store/Model/StoreRepository.php(106): Magento\Framework\App\Config->get('scopes', 'stores/4', Array) #14 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/module-store/Model/StoreRepository.php(127): Magento\Store\Model\StoreRepository->getById('4') #15 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/module-store/Model/StoreResolver.php(181): Magento\Store\Model\StoreRepository->getActiveStoreById('4') #16 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/module-store/Model/StoreResolver.php(126): Magento\Store\Model\StoreResolver->getDefaultStoreById('4') #17 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/module-store/Model/StoreManager.php(160): Magento\Store\Model\StoreResolver->getCurrentStoreId() #18 /var/www/vhosts/mon-porte-clef.fr/httpdocs/generated/code/Magento/Store/Model/StoreManagerInterface/Proxy.php(119): Magento\Store\Model\StoreManager->getStore(NULL) #19 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/module-store/Model/Resolver/Store.php(30): Magento\Store\Model\StoreManagerInterface\Proxy->getStore(NULL) #20 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/App/Config/ScopeCodeResolver.php(49): Magento\Store\Model\Resolver\Store->getScope(NULL) #21 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/App/Config.php(69): Magento\Framework\App\Config\ScopeCodeResolver->resolve('stores', NULL) #22 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/Session/Config.php(155): Magento\Framework\App\Config->getValue('web/cookie/cook...', 'stores') #23 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(116): Magento\Framework\Session\Config->__construct(Object(Magento\Framework\ValidatorFactory), Object(Magento\Framework\App\Config), Object(Magento\Framework\Stdlib\StringUtils), Object(Magento\Framework\App\Request\Http), Object(Magento\Framework\Filesystem), Object(Magento\Framework\App\DeploymentConfig), 'store', 'web/cookie/cook...') #24 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(108): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\\Framewo...', Array) #25 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Framewo...') #26 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Framewo...') #27 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Checkou...') #28 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Checkou...') #29 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(150): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Persist...') #30 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(79): Magento\Framework\ObjectManager\Factory\Compiled->get('Magento\\Persist...') #31 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/ObjectManager/ObjectManager.php(70): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\\Persist...') #32 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/Interception/PluginList/PluginList.php(250): Magento\Framework\ObjectManager\ObjectManager->get('Magento\\Persist...') #33 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(119): Magento\Framework\Interception\PluginList\PluginList->getPlugin('Magento\\Framewo...', 'persistent_page...') #34 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Context\Interceptor->Magento\Framework\Interception\{closure}() #35 /var/www/vhosts/mon-porte-clef.fr/httpdocs/generated/code/Magento/Framework/App/Http/Context/Interceptor.php(26): Magento\Framework\App\Http\Context\Interceptor->___callPlugins('getVaryString', Array, Array) #36 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/App/Response/Http.php(109): Magento\Framework\App\Http\Context\Interceptor->getVaryString() #37 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/module-page-cache/Model/App/Response/HttpPlugin.php(25): Magento\Framework\App\Response\Http->sendVary() #38 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(121): Magento\PageCache\Model\App\Response\HttpPlugin->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #39 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #40 /var/www/vhosts/mon-porte-clef.fr/httpdocs/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(26): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #41 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/App/Http.php(206): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #42 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/App/Http.php(177): Magento\Framework\App\Http->handleDeveloperMode(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #43 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #44 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent('catchException', Array) #45 /var/www/vhosts/mon-porte-clef.fr/httpdocs/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)) #46 /var/www/vhosts/mon-porte-clef.fr/httpdocs/generated/code/Magento/Framework/App/Http/Interceptor.php(26): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #47 /var/www/vhosts/mon-porte-clef.fr/httpdocs/vendor/magento/framework/App/Bootstrap.php(267): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #48 /var/www/vhosts/mon-porte-clef.fr/httpdocs/index.php(83): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #49 {main}