PDOException: SQLSTATE[HY000] [2002] Connection refused in /home/gbz/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /home/gbz/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct('mysql:host=127....', 'gbzmagento', 'KiYm!K2[R[W6', Array) #1 /home/gbz/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /home/gbz/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(410): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /home/gbz/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(575): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /home/gbz/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(613): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `main_ta...', Array) #5 /home/gbz/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array) #6 /home/gbz/public_html/vendor/magento/framework/Data/Collection/Db/FetchStrategy/Query.php(21): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select), Array) #7 /home/gbz/public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(782): Magento\Framework\Data\Collection\Db\FetchStrategy\Query->fetchAll(Object(Magento\Framework\DB\Select), Array) #8 /home/gbz/public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(677): Magento\Framework\Data\Collection\AbstractDb->_fetchAll(Object(Magento\Framework\DB\Select)) #9 /home/gbz/public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(580): Magento\Framework\Data\Collection\AbstractDb->getData() #10 /home/gbz/public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(565): Magento\Framework\Data\Collection\AbstractDb->loadWithFilter(false, false) #11 /home/gbz/public_html/vendor/magento/framework/Data/Collection.php(838): Magento\Framework\Data\Collection\AbstractDb->load() #12 /home/gbz/public_html/vendor/magento/module-customer/Model/ResourceModel/GroupRepository.php(200): Magento\Framework\Data\Collection->getIterator() #13 /home/gbz/public_html/app/code/Anowave/TaxSwitch/Helper/Data.php(331): Magento\Customer\Model\ResourceModel\GroupRepository->getList(Object(Magento\Framework\Api\SearchCriteria)) #14 /home/gbz/public_html/app/code/Anowave/TaxSwitch/Helper/Data.php(424): Anowave\TaxSwitch\Helper\Data->getCurrentCustomerGroupTaxDisplay() #15 /home/gbz/public_html/app/code/Anowave/TaxSwitch/Plugin/Framework/App/Http/Context.php(64): Anowave\TaxSwitch\Helper\Data->getCurrentTaxDisplay() #16 /home/gbz/public_html/vendor/magento/framework/Interception/Interceptor.php(121): Anowave\TaxSwitch\Plugin\Framework\App\Http\Context->beforeGetVaryString(Object(Magento\Framework\App\Http\Context\Interceptor)) #17 /home/gbz/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Context\Interceptor->Magento\Framework\Interception\{closure}() #18 /home/gbz/public_html/generated/code/Magento/Framework/App/Http/Context/Interceptor.php(26): Magento\Framework\App\Http\Context\Interceptor->___callPlugins('getVaryString', Array, Array) #19 /home/gbz/public_html/vendor/magento/framework/App/Response/Http.php(108): Magento\Framework\App\Http\Context\Interceptor->getVaryString() #20 /home/gbz/public_html/vendor/magento/module-page-cache/Model/App/Response/HttpPlugin.php(25): Magento\Framework\App\Response\Http->sendVary() #21 /home/gbz/public_html/vendor/magento/framework/Interception/Interceptor.php(121): Magento\PageCache\Model\App\Response\HttpPlugin->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #22 /home/gbz/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #23 /home/gbz/public_html/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(26): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #24 /home/gbz/public_html/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #25 /home/gbz/public_html/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)) #26 /home/gbz/public_html/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)) #27 /home/gbz/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Statement_Exception)) #28 /home/gbz/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent('catchException', Array) #29 /home/gbz/public_html/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)) #30 /home/gbz/public_html/generated/code/Magento/Framework/App/Http/Interceptor.php(39): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #31 /home/gbz/public_html/vendor/magento/framework/App/Bootstrap.php(267): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Statement_Exception)) #32 /home/gbz/public_html/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] Connection refused in /home/gbz/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /home/gbz/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /home/gbz/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(410): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /home/gbz/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(575): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /home/gbz/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(613): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT `main_ta...', Array) #4 /home/gbz/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(737): Magento\Framework\DB\Adapter\Pdo\Mysql->query(Object(Magento\Framework\DB\Select), Array) #5 /home/gbz/public_html/vendor/magento/framework/Data/Collection/Db/FetchStrategy/Query.php(21): Zend_Db_Adapter_Abstract->fetchAll(Object(Magento\Framework\DB\Select), Array) #6 /home/gbz/public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(782): Magento\Framework\Data\Collection\Db\FetchStrategy\Query->fetchAll(Object(Magento\Framework\DB\Select), Array) #7 /home/gbz/public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(677): Magento\Framework\Data\Collection\AbstractDb->_fetchAll(Object(Magento\Framework\DB\Select)) #8 /home/gbz/public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(580): Magento\Framework\Data\Collection\AbstractDb->getData() #9 /home/gbz/public_html/vendor/magento/framework/Data/Collection/AbstractDb.php(565): Magento\Framework\Data\Collection\AbstractDb->loadWithFilter(false, false) #10 /home/gbz/public_html/vendor/magento/framework/Data/Collection.php(838): Magento\Framework\Data\Collection\AbstractDb->load() #11 /home/gbz/public_html/vendor/magento/module-customer/Model/ResourceModel/GroupRepository.php(200): Magento\Framework\Data\Collection->getIterator() #12 /home/gbz/public_html/app/code/Anowave/TaxSwitch/Helper/Data.php(331): Magento\Customer\Model\ResourceModel\GroupRepository->getList(Object(Magento\Framework\Api\SearchCriteria)) #13 /home/gbz/public_html/app/code/Anowave/TaxSwitch/Helper/Data.php(424): Anowave\TaxSwitch\Helper\Data->getCurrentCustomerGroupTaxDisplay() #14 /home/gbz/public_html/app/code/Anowave/TaxSwitch/Plugin/Framework/App/Http/Context.php(64): Anowave\TaxSwitch\Helper\Data->getCurrentTaxDisplay() #15 /home/gbz/public_html/vendor/magento/framework/Interception/Interceptor.php(121): Anowave\TaxSwitch\Plugin\Framework\App\Http\Context->beforeGetVaryString(Object(Magento\Framework\App\Http\Context\Interceptor)) #16 /home/gbz/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Http\Context\Interceptor->Magento\Framework\Interception\{closure}() #17 /home/gbz/public_html/generated/code/Magento/Framework/App/Http/Context/Interceptor.php(26): Magento\Framework\App\Http\Context\Interceptor->___callPlugins('getVaryString', Array, Array) #18 /home/gbz/public_html/vendor/magento/framework/App/Response/Http.php(108): Magento\Framework\App\Http\Context\Interceptor->getVaryString() #19 /home/gbz/public_html/vendor/magento/module-page-cache/Model/App/Response/HttpPlugin.php(25): Magento\Framework\App\Response\Http->sendVary() #20 /home/gbz/public_html/vendor/magento/framework/Interception/Interceptor.php(121): Magento\PageCache\Model\App\Response\HttpPlugin->beforeSendResponse(Object(Magento\Framework\App\Response\Http\Interceptor)) #21 /home/gbz/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\Response\Http\Interceptor->Magento\Framework\Interception\{closure}() #22 /home/gbz/public_html/generated/code/Magento/Framework/App/Response/Http/Interceptor.php(26): Magento\Framework\App\Response\Http\Interceptor->___callPlugins('sendResponse', Array, Array) #23 /home/gbz/public_html/vendor/magento/framework/App/ExceptionHandler.php(103): Magento\Framework\App\Response\Http\Interceptor->sendResponse() #24 /home/gbz/public_html/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)) #25 /home/gbz/public_html/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)) #26 /home/gbz/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Http->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Statement_Exception)) #27 /home/gbz/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\Http\Interceptor->___callParent('catchException', Array) #28 /home/gbz/public_html/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)) #29 /home/gbz/public_html/generated/code/Magento/Framework/App/Http/Interceptor.php(39): Magento\Framework\App\Http\Interceptor->___callPlugins('catchException', Array, Array) #30 /home/gbz/public_html/vendor/magento/framework/App/Bootstrap.php(267): Magento\Framework\App\Http\Interceptor->catchException(Object(Magento\Framework\App\Bootstrap), Object(Zend_Db_Statement_Exception)) #31 /home/gbz/public_html/pub/index.php(40): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #32 {main}