PDOException: SQLSTATE[HY000] [2002] Connection refused in /home/www-extract/www/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /home/www-extract/www/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct('mysql:host=127....', 'extract', 'nae7moweeyah1ro...', Array) #1 /home/www-extract/www/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /home/www-extract/www/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(410): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /home/www-extract/www/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(575): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /home/www-extract/www/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(613): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `variabl...', Array) #5 /home/www-extract/www/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(756): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array) #6 /home/www-extract/www/vendor/magento/module-variable/Model/ResourceModel/Variable.php(60): Zend_Db_Adapter_Abstract->fetchRow(Object(Magento\Framework\DB\Select)) #7 /home/www-extract/www/vendor/magento/module-variable/Model/ResourceModel/Variable.php(35): Magento\Variable\Model\ResourceModel\Variable->getVariableByCode('device', true, 0) #8 /home/www-extract/www/vendor/magento/module-variable/Model/Variable.php(99): Magento\Variable\Model\ResourceModel\Variable->loadByCode(Object(Magento\Variable\Model\Variable), 'device') #9 /home/www-extract/www/vendor/magento/module-catalog/Plugin/Framework/App/Http/Context.php(32): Magento\Variable\Model\Variable->loadByCode('device') #10 /home/www-extract/www/vendor/magento/framework/Interception/Interceptor.php(121): Magento\Catalog\Plugin\Framework\App\Http\Context->beforeGetVaryString(Object(Magento\Framework\App\Http\Context\Interceptor)) #11 /home/www-extract/www/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Context\Interceptor->Magento\Framework\Interception\{closure}() #12 /home/www-extract/www/generated/code/Magento/Framework/App/Http/Context/Interceptor.php(26): Magento\Framework\App\Http\Context\Interceptor->___callPlugins('getVaryString', Array, Array) #13 /home/www-extract/www/vendor/magento/framework/App/Response/Http.php(108): Magento\Framework\App\Http\Context\Interceptor->getVaryString() #14 /home/www-extract/www/vendor/magento/module-page-cache/Model/App/Response/HttpPlugin.php(25): Magento\Framework\App\Response\Http->sendVary() #15 /home/www-extract/www/vendor/magento/framework/Interception/Interceptor.php(121): Magento\PageCache\Model\App\Response\HttpPlugin->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #16 /home/www-extract/www/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #17 /home/www-extract/www/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(26): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #18 /home/www-extract/www/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #19 /home/www-extract/www/vendor/magento/framework/App/ExceptionHandler.php(70): Magento\Framework\App\ExceptionHandler->handleDeveloperMode(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Statement_Exception), Object(Magento\Framework\App\Response\Http\Interceptor)) #20 /home/www-extract/www/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\ExceptionHandler->handle(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Statement_Exception), Object(Magento\Framework\App\Response\Http\Interceptor), Object(Magento\Framework\App\Request\Http)) #21 /home/www-extract/www/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Statement_Exception)) #22 /home/www-extract/www/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent('catchException', Array) #23 /home/www-extract/www/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Statement_Exception)) #24 /home/www-extract/www/generated/code/Magento/Framework/App/Http/Interceptor.php(26): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #25 /home/www-extract/www/vendor/magento/framework/App/Bootstrap.php(267): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Statement_Exception)) #26 /home/www-extract/www/pub/index.php(40): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #27 {main} Next Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] Connection refused in /home/www-extract/www/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /home/www-extract/www/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /home/www-extract/www/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(410): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /home/www-extract/www/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(575): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /home/www-extract/www/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(613): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `variabl...', Array) #4 /home/www-extract/www/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(756): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array) #5 /home/www-extract/www/vendor/magento/module-variable/Model/ResourceModel/Variable.php(60): Zend_Db_Adapter_Abstract->fetchRow(Object(Magento\Framework\DB\Select)) #6 /home/www-extract/www/vendor/magento/module-variable/Model/ResourceModel/Variable.php(35): Magento\Variable\Model\ResourceModel\Variable->getVariableByCode('device', true, 0) #7 /home/www-extract/www/vendor/magento/module-variable/Model/Variable.php(99): Magento\Variable\Model\ResourceModel\Variable->loadByCode(Object(Magento\Variable\Model\Variable), 'device') #8 /home/www-extract/www/vendor/magento/module-catalog/Plugin/Framework/App/Http/Context.php(32): Magento\Variable\Model\Variable->loadByCode('device') #9 /home/www-extract/www/vendor/magento/framework/Interception/Interceptor.php(121): Magento\Catalog\Plugin\Framework\App\Http\Context->beforeGetVaryString(Object(Magento\Framework\App\Http\Context\Interceptor)) #10 /home/www-extract/www/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Context\Interceptor->Magento\Framework\Interception\{closure}() #11 /home/www-extract/www/generated/code/Magento/Framework/App/Http/Context/Interceptor.php(26): Magento\Framework\App\Http\Context\Interceptor->___callPlugins('getVaryString', Array, Array) #12 /home/www-extract/www/vendor/magento/framework/App/Response/Http.php(108): Magento\Framework\App\Http\Context\Interceptor->getVaryString() #13 /home/www-extract/www/vendor/magento/module-page-cache/Model/App/Response/HttpPlugin.php(25): Magento\Framework\App\Response\Http->sendVary() #14 /home/www-extract/www/vendor/magento/framework/Interception/Interceptor.php(121): Magento\PageCache\Model\App\Response\HttpPlugin->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #15 /home/www-extract/www/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #16 /home/www-extract/www/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(26): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #17 /home/www-extract/www/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #18 /home/www-extract/www/vendor/magento/framework/App/ExceptionHandler.php(70): Magento\Framework\App\ExceptionHandler->handleDeveloperMode(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Statement_Exception), Object(Magento\Framework\App\Response\Http\Interceptor)) #19 /home/www-extract/www/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\ExceptionHandler->handle(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Statement_Exception), Object(Magento\Framework\App\Response\Http\Interceptor), Object(Magento\Framework\App\Request\Http)) #20 /home/www-extract/www/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Statement_Exception)) #21 /home/www-extract/www/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent('catchException', Array) #22 /home/www-extract/www/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Statement_Exception)) #23 /home/www-extract/www/generated/code/Magento/Framework/App/Http/Interceptor.php(26): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #24 /home/www-extract/www/vendor/magento/framework/App/Bootstrap.php(267): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Statement_Exception)) #25 /home/www-extract/www/pub/index.php(40): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #26 {main}