SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `catalog_category_entity_varchar` AS `t_d` INNER JOIN `catalog_category_entity` AS `e` ON e.entity_id = t_d.entity_id LEFT JOIN `catalog_category_entity_varchar` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 2 WHERE (e.entity_id IN (65)) AND (t_d.attribute_id IN ('45', '119')) AND (t_d.store_id = IFNULL(t_s.store_id, 0))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/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /home/www-extract/www/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(931): Zend_Db_Adapter_Abstract->quote('device', NULL) #5 /home/www-extract/www/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(1489): Zend_Db_Adapter_Abstract->quoteInto('variable.code =...', 'device', NULL, NULL) #6 /home/www-extract/www/vendor/magento/zendframework1/library/Zend/Db/Select.php(1031): Magento\Framework\DB\Adapter\Pdo\Mysql->quoteInto('variable.code =...', 'device', NULL) #7 /home/www-extract/www/vendor/magento/zendframework1/library/Zend/Db/Select.php(496): Zend_Db_Select->_where('variable.code =...', 'device', NULL, true) #8 /home/www-extract/www/vendor/magento/framework/DB/Select.php(120): Zend_Db_Select->where('variable.code =...', 'device', NULL) #9 /home/www-extract/www/vendor/magento/module-variable/Model/ResourceModel/Variable.php(55): Magento\Framework\DB\Select->where('variable.code =...', 'device') #10 /home/www-extract/www/vendor/magento/module-variable/Model/ResourceModel/Variable.php(35): Magento\Variable\Model\ResourceModel\Variable->getVariableByCode('device', true, 0) #11 /home/www-extract/www/vendor/magento/module-variable/Model/Variable.php(99): Magento\Variable\Model\ResourceModel\Variable->loadByCode(Object(Magento\Variable\Model\Variable), 'device') #12 /home/www-extract/www/vendor/magento/module-catalog/Plugin/Framework/App/Http/Context.php(32): Magento\Variable\Model\Variable->loadByCode('device') #13 /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)) #14 /home/www-extract/www/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Context\Interceptor->Magento\Framework\Interception\{closure}() #15 /home/www-extract/www/generated/code/Magento/Framework/App/Http/Context/Interceptor.php(26): Magento\Framework\App\Http\Context\Interceptor->___callPlugins('getVaryString', Array, Array) #16 /home/www-extract/www/vendor/magento/framework/App/Response/Http.php(108): Magento\Framework\App\Http\Context\Interceptor->getVaryString() #17 /home/www-extract/www/vendor/magento/module-page-cache/Model/App/Response/HttpPlugin.php(25): Magento\Framework\App\Response\Http->sendVary() #18 /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)) #19 /home/www-extract/www/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #20 /home/www-extract/www/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(26): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #21 /home/www-extract/www/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #22 /home/www-extract/www/vendor/magento/framework/App/ExceptionHandler.php(70): Magento\Framework\App\ExceptionHandler->handleDeveloperMode(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception), Object(Magento\Framework\App\Response\Http\Interceptor)) #23 /home/www-extract/www/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\ExceptionHandler->handle(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception), Object(Magento\Framework\App\Response\Http\Interceptor), Object(Magento\Framework\App\Request\Http)) #24 /home/www-extract/www/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #25 /home/www-extract/www/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent('catchException', Array) #26 /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_Adapter_Exception)) #27 /home/www-extract/www/generated/code/Magento/Framework/App/Http/Interceptor.php(26): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #28 /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_Adapter_Exception)) #29 /home/www-extract/www/pub/index.php(40): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #30 {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/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /home/www-extract/www/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(931): Zend_Db_Adapter_Abstract->quote('device', NULL) #4 /home/www-extract/www/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(1489): Zend_Db_Adapter_Abstract->quoteInto('variable.code =...', 'device', NULL, NULL) #5 /home/www-extract/www/vendor/magento/zendframework1/library/Zend/Db/Select.php(1031): Magento\Framework\DB\Adapter\Pdo\Mysql->quoteInto('variable.code =...', 'device', NULL) #6 /home/www-extract/www/vendor/magento/zendframework1/library/Zend/Db/Select.php(496): Zend_Db_Select->_where('variable.code =...', 'device', NULL, true) #7 /home/www-extract/www/vendor/magento/framework/DB/Select.php(120): Zend_Db_Select->where('variable.code =...', 'device', NULL) #8 /home/www-extract/www/vendor/magento/module-variable/Model/ResourceModel/Variable.php(55): Magento\Framework\DB\Select->where('variable.code =...', 'device') #9 /home/www-extract/www/vendor/magento/module-variable/Model/ResourceModel/Variable.php(35): Magento\Variable\Model\ResourceModel\Variable->getVariableByCode('device', true, 0) #10 /home/www-extract/www/vendor/magento/module-variable/Model/Variable.php(99): Magento\Variable\Model\ResourceModel\Variable->loadByCode(Object(Magento\Variable\Model\Variable), 'device') #11 /home/www-extract/www/vendor/magento/module-catalog/Plugin/Framework/App/Http/Context.php(32): Magento\Variable\Model\Variable->loadByCode('device') #12 /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)) #13 /home/www-extract/www/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Context\Interceptor->Magento\Framework\Interception\{closure}() #14 /home/www-extract/www/generated/code/Magento/Framework/App/Http/Context/Interceptor.php(26): Magento\Framework\App\Http\Context\Interceptor->___callPlugins('getVaryString', Array, Array) #15 /home/www-extract/www/vendor/magento/framework/App/Response/Http.php(108): Magento\Framework\App\Http\Context\Interceptor->getVaryString() #16 /home/www-extract/www/vendor/magento/module-page-cache/Model/App/Response/HttpPlugin.php(25): Magento\Framework\App\Response\Http->sendVary() #17 /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)) #18 /home/www-extract/www/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #19 /home/www-extract/www/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(26): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #20 /home/www-extract/www/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #21 /home/www-extract/www/vendor/magento/framework/App/ExceptionHandler.php(70): Magento\Framework\App\ExceptionHandler->handleDeveloperMode(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception), Object(Magento\Framework\App\Response\Http\Interceptor)) #22 /home/www-extract/www/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\ExceptionHandler->handle(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception), Object(Magento\Framework\App\Response\Http\Interceptor), Object(Magento\Framework\App\Request\Http)) #23 /home/www-extract/www/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Adapter_Exception)) #24 /home/www-extract/www/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent('catchException', Array) #25 /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_Adapter_Exception)) #26 /home/www-extract/www/generated/code/Magento/Framework/App/Http/Interceptor.php(26): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #27 /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_Adapter_Exception)) #28 /home/www-extract/www/pub/index.php(40): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #29 {main}