PDOException: SQLSTATE[HY000] [2002] Connection refused in /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct() #1 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(424): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /var/www/html/generated/code/Firebear/ImportExport/Setup/Db/Adapter/Pdo/Mysql/Interceptor.php(1139): Zend_Db_Adapter_Abstract->quote() #5 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(931): Firebear\ImportExport\Setup\Db\Adapter\Pdo\Mysql\Interceptor->quote() #6 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(1529): Zend_Db_Adapter_Abstract->quoteInto() #7 /var/www/html/generated/code/Firebear/ImportExport/Setup/Db/Adapter/Pdo/Mysql/Interceptor.php(257): Magento\Framework\DB\Adapter\Pdo\Mysql->quoteInto() #8 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(3076): Firebear\ImportExport\Setup\Db\Adapter\Pdo\Mysql\Interceptor->quoteInto() #9 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(3059): Magento\Framework\DB\Adapter\Pdo\Mysql->_prepareQuotedSqlCondition() #10 /var/www/html/generated/code/Firebear/ImportExport/Setup/Db/Adapter/Pdo/Mysql/Interceptor.php(563): Magento\Framework\DB\Adapter\Pdo\Mysql->prepareSqlCondition() #11 /var/www/html/vendor/magento/framework/Data/Collection/AbstractDb.php(485): Firebear\ImportExport\Setup\Db\Adapter\Pdo\Mysql\Interceptor->prepareSqlCondition() #12 /var/www/html/vendor/magento/framework/Data/Collection/AbstractDb.php(416): Magento\Framework\Data\Collection\AbstractDb->_getConditionSql() #13 /var/www/html/vendor/magento/framework/Data/Collection/AbstractDb.php(398): Magento\Framework\Data\Collection\AbstractDb->_translateCondition() #14 /var/www/html/vendor/magento/module-rule/Model/ResourceModel/Rule/Collection/AbstractCollection.php(121): Magento\Framework\Data\Collection\AbstractDb->addFieldToFilter() #15 /var/www/html/vendor/amasty/groupcat/Model/ResourceModel/Rule/Collection.php(119): Magento\Rule\Model\ResourceModel\Rule\Collection\AbstractCollection->addFieldToFilter() #16 /var/www/html/generated/code/Amasty/Groupcat/Model/ResourceModel/Rule/Collection/Interceptor.php(32): Amasty\Groupcat\Model\ResourceModel\Rule\Collection->addFieldToFilter() #17 /var/www/html/vendor/magento/module-rule/Model/ResourceModel/Rule/Collection/AbstractCollection.php(134): Amasty\Groupcat\Model\ResourceModel\Rule\Collection\Interceptor->addFieldToFilter() #18 /var/www/html/generated/code/Amasty/Groupcat/Model/ResourceModel/Rule/Collection/Interceptor.php(131): Magento\Rule\Model\ResourceModel\Rule\Collection\AbstractCollection->addIsActiveFilter() #19 /var/www/html/vendor/amasty/groupcat/Model/ProductRuleProvider.php(118): Amasty\Groupcat\Model\ResourceModel\Rule\Collection\Interceptor->addIsActiveFilter() #20 /var/www/html/vendor/amasty/groupcat/Plugin/Framework/App/Http/Context.php(46): Amasty\Groupcat\Model\ProductRuleProvider->getActiveRulesCollection() #21 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(121): Amasty\Groupcat\Plugin\Framework\App\Http\Context->beforeGetVaryString() #22 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Context\Interceptor->Magento\Framework\Interception\{closure}() #23 /var/www/html/generated/code/Magento/Framework/App/Http/Context/Interceptor.php(59): Magento\Framework\App\Http\Context\Interceptor->___callPlugins() #24 /var/www/html/vendor/magento/framework/App/Response/Http.php(108): Magento\Framework\App\Http\Context\Interceptor->getVaryString() #25 /var/www/html/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(32): Magento\Framework\App\Response\Http->sendVary() #26 /var/www/html/vendor/magento/module-page-cache/Model/App/Response/HttpPlugin.php(29): Magento\Framework\App\Response\Http\Interceptor->sendVary() #27 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(121): Magento\PageCache\Model\App\Response\HttpPlugin->beforeSendResponse() #28 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #29 /var/www/html/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(86): Magento\Framework\App\Response\Http\Interceptor->___callPlugins() #30 /var/www/html/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #31 /var/www/html/vendor/magento/framework/App/ExceptionHandler.php(70): Magento\Framework\App\ExceptionHandler->handleDeveloperMode() #32 /var/www/html/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\ExceptionHandler->handle() #33 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException() #34 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent() #35 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}() #36 /var/www/html/generated/code/Magento/Framework/App/Http/Interceptor.php(32): Magento\Framework\App\Http\Interceptor->___callPlugins() #37 /var/www/html/vendor/magento/framework/App/Bootstrap.php(269): Magento\Framework\App\Http\Interceptor->catchException() #38 /var/www/html/pub/index.php(29): Magento\Framework\App\Bootstrap->run() #39 {main} Next Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] Connection refused in /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(424): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(861): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /var/www/html/generated/code/Firebear/ImportExport/Setup/Db/Adapter/Pdo/Mysql/Interceptor.php(1139): Zend_Db_Adapter_Abstract->quote() #4 /var/www/html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(931): Firebear\ImportExport\Setup\Db\Adapter\Pdo\Mysql\Interceptor->quote() #5 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(1529): Zend_Db_Adapter_Abstract->quoteInto() #6 /var/www/html/generated/code/Firebear/ImportExport/Setup/Db/Adapter/Pdo/Mysql/Interceptor.php(257): Magento\Framework\DB\Adapter\Pdo\Mysql->quoteInto() #7 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(3076): Firebear\ImportExport\Setup\Db\Adapter\Pdo\Mysql\Interceptor->quoteInto() #8 /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(3059): Magento\Framework\DB\Adapter\Pdo\Mysql->_prepareQuotedSqlCondition() #9 /var/www/html/generated/code/Firebear/ImportExport/Setup/Db/Adapter/Pdo/Mysql/Interceptor.php(563): Magento\Framework\DB\Adapter\Pdo\Mysql->prepareSqlCondition() #10 /var/www/html/vendor/magento/framework/Data/Collection/AbstractDb.php(485): Firebear\ImportExport\Setup\Db\Adapter\Pdo\Mysql\Interceptor->prepareSqlCondition() #11 /var/www/html/vendor/magento/framework/Data/Collection/AbstractDb.php(416): Magento\Framework\Data\Collection\AbstractDb->_getConditionSql() #12 /var/www/html/vendor/magento/framework/Data/Collection/AbstractDb.php(398): Magento\Framework\Data\Collection\AbstractDb->_translateCondition() #13 /var/www/html/vendor/magento/module-rule/Model/ResourceModel/Rule/Collection/AbstractCollection.php(121): Magento\Framework\Data\Collection\AbstractDb->addFieldToFilter() #14 /var/www/html/vendor/amasty/groupcat/Model/ResourceModel/Rule/Collection.php(119): Magento\Rule\Model\ResourceModel\Rule\Collection\AbstractCollection->addFieldToFilter() #15 /var/www/html/generated/code/Amasty/Groupcat/Model/ResourceModel/Rule/Collection/Interceptor.php(32): Amasty\Groupcat\Model\ResourceModel\Rule\Collection->addFieldToFilter() #16 /var/www/html/vendor/magento/module-rule/Model/ResourceModel/Rule/Collection/AbstractCollection.php(134): Amasty\Groupcat\Model\ResourceModel\Rule\Collection\Interceptor->addFieldToFilter() #17 /var/www/html/generated/code/Amasty/Groupcat/Model/ResourceModel/Rule/Collection/Interceptor.php(131): Magento\Rule\Model\ResourceModel\Rule\Collection\AbstractCollection->addIsActiveFilter() #18 /var/www/html/vendor/amasty/groupcat/Model/ProductRuleProvider.php(118): Amasty\Groupcat\Model\ResourceModel\Rule\Collection\Interceptor->addIsActiveFilter() #19 /var/www/html/vendor/amasty/groupcat/Plugin/Framework/App/Http/Context.php(46): Amasty\Groupcat\Model\ProductRuleProvider->getActiveRulesCollection() #20 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(121): Amasty\Groupcat\Plugin\Framework\App\Http\Context->beforeGetVaryString() #21 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Context\Interceptor->Magento\Framework\Interception\{closure}() #22 /var/www/html/generated/code/Magento/Framework/App/Http/Context/Interceptor.php(59): Magento\Framework\App\Http\Context\Interceptor->___callPlugins() #23 /var/www/html/vendor/magento/framework/App/Response/Http.php(108): Magento\Framework\App\Http\Context\Interceptor->getVaryString() #24 /var/www/html/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(32): Magento\Framework\App\Response\Http->sendVary() #25 /var/www/html/vendor/magento/module-page-cache/Model/App/Response/HttpPlugin.php(29): Magento\Framework\App\Response\Http\Interceptor->sendVary() #26 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(121): Magento\PageCache\Model\App\Response\HttpPlugin->beforeSendResponse() #27 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #28 /var/www/html/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(86): Magento\Framework\App\Response\Http\Interceptor->___callPlugins() #29 /var/www/html/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #30 /var/www/html/vendor/magento/framework/App/ExceptionHandler.php(70): Magento\Framework\App\ExceptionHandler->handleDeveloperMode() #31 /var/www/html/vendor/magento/framework/App/Http.php(156): Magento\Framework\App\ExceptionHandler->handle() #32 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException() #33 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent() #34 /var/www/html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Interceptor->Magento\Framework\Interception\{closure}() #35 /var/www/html/generated/code/Magento/Framework/App/Http/Interceptor.php(32): Magento\Framework\App\Http\Interceptor->___callPlugins() #36 /var/www/html/vendor/magento/framework/App/Bootstrap.php(269): Magento\Framework\App\Http\Interceptor->catchException() #37 /var/www/html/pub/index.php(29): Magento\Framework\App\Bootstrap->run() #38 {main}