PDOException: SQLSTATE[HY000] [2002] Connection refused in /home/cda1/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:128 Stack trace: #0 /home/cda1/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(128): PDO->__construct('mysql:host=127....', 'cda1_bounce_tes...', 'Cr!=K)si422*', Array) #1 /home/cda1/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #2 /home/cda1/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(424): Zend_Db_Adapter_Pdo_Mysql->_connect() #3 /home/cda1/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #4 /home/cda1/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT GET_LOCK...', Array) #5 /home/cda1/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(560): Zend_Db_Adapter_Pdo_Abstract->query('SELECT GET_LOCK...', Array) #6 /home/cda1/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(627): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT GET_LOCK...', Array) #7 /home/cda1/public_html/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(95): Magento\Framework\DB\Adapter\Pdo\Mysql->query('SELECT GET_LOCK...', Array) #8 /home/cda1/public_html/vendor/magento/framework/Lock/Backend/Database.php(84): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->query('SELECT GET_LOCK...', Array) #9 /home/cda1/public_html/vendor/magento/framework/Cache/LockGuardedCacheLoader.php(134): Magento\Framework\Lock\Backend\Database->lock('cda1_bounce_202...', 0) #10 /home/cda1/public_html/vendor/magento/module-config/App/Config/Type/System.php(281): Magento\Framework\Cache\LockGuardedCacheLoader->lockedLoadData('SYSTEM_CONFIG', Object(Closure), Object(Closure), Object(Closure)) #11 /home/cda1/public_html/vendor/magento/module-config/App/Config/Type/System.php(207): Magento\Config\App\Config\Type\System->loadDefaultScopeData('default') #12 /home/cda1/public_html/vendor/magento/module-config/App/Config/Type/System.php(181): Magento\Config\App\Config\Type\System->getWithParts('default/logclea...') #13 /home/cda1/public_html/vendor/magento/framework/App/Config.php(132): Magento\Config\App\Config\Type\System->get('default/logclea...') #14 /home/cda1/public_html/generated/code/Magento/Framework/App/Config/Interceptor.php(50): Magento\Framework\App\Config->get('system', 'default/logclea...', NULL) #15 /home/cda1/public_html/vendor/magento/framework/App/Config.php(80): Magento\Framework\App\Config\Interceptor->get('system', 'default/logclea...') #16 /home/cda1/public_html/generated/code/Magento/Framework/App/Config/Interceptor.php(23): Magento\Framework\App\Config->getValue('logcleaner/gene...', 'default', NULL) #17 /home/cda1/public_html/app/code/Future/LogCleaner/Helper/Helper.php(40): Magento\Framework\App\Config\Interceptor->getValue('logcleaner/gene...') #18 /home/cda1/public_html/app/code/Future/LogCleaner/Helper/LogHelper.php(37): Future\LogCleaner\Helper\Helper->getModuleEnable() #19 /home/cda1/public_html/app/code/Future/LogCleaner/Observer/CheckLogSize.php(22): Future\LogCleaner\Helper\LogHelper->execute() #20 /home/cda1/public_html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(88): Future\LogCleaner\Observer\CheckLogSize->execute(Object(Magento\Framework\Event\Observer)) #21 /home/cda1/public_html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(74): Magento\Framework\Event\Invoker\InvokerDefault->_callObserverMethod(Object(Future\LogCleaner\Observer\CheckLogSize), Object(Magento\Framework\Event\Observer)) #22 /home/cda1/public_html/vendor/magento/framework/Event/Manager.php(66): Magento\Framework\Event\Invoker\InvokerDefault->dispatch(Array, Object(Magento\Framework\Event\Observer)) #23 /home/cda1/public_html/generated/code/Magento/Framework/Event/Manager/Proxy.php(95): Magento\Framework\Event\Manager->dispatch('future_logclean...', Array) #24 /home/cda1/public_html/app/code/Future/LogCleaner/Logger/Monolog.php(44): Magento\Framework\Event\Manager\Proxy->dispatch('future_LogClean...', Array) #25 /home/cda1/public_html/vendor/monolog/monolog/src/Monolog/Logger.php(712): Future\LogCleaner\Logger\Monolog->addRecord(400, 'SQLSTATE[HY000]...', Array) #26 /home/cda1/public_html/vendor/magento/framework/Logger/LoggerProxy.php(126): Monolog\Logger->error('SQLSTATE[HY000]...', Array) #27 /home/cda1/public_html/vendor/magento/framework/App/Bootstrap.php(268): Magento\Framework\Logger\LoggerProxy->error('SQLSTATE[HY000]...') #28 /home/cda1/public_html/index.php(38): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #29 {main} Next Zend_Db_Adapter_Exception: SQLSTATE[HY000] [2002] Connection refused in /home/cda1/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php:144 Stack trace: #0 /home/cda1/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Mysql.php(111): Zend_Db_Adapter_Pdo_Abstract->_connect() #1 /home/cda1/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(424): Zend_Db_Adapter_Pdo_Mysql->_connect() #2 /home/cda1/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Abstract.php(460): Magento\Framework\DB\Adapter\Pdo\Mysql->_connect() #3 /home/cda1/public_html/vendor/magento/zendframework1/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT GET_LOCK...', Array) #4 /home/cda1/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(560): Zend_Db_Adapter_Pdo_Abstract->query('SELECT GET_LOCK...', Array) #5 /home/cda1/public_html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php(627): Magento\Framework\DB\Adapter\Pdo\Mysql->_query('SELECT GET_LOCK...', Array) #6 /home/cda1/public_html/generated/code/Magento/Framework/DB/Adapter/Pdo/Mysql/Interceptor.php(95): Magento\Framework\DB\Adapter\Pdo\Mysql->query('SELECT GET_LOCK...', Array) #7 /home/cda1/public_html/vendor/magento/framework/Lock/Backend/Database.php(84): Magento\Framework\DB\Adapter\Pdo\Mysql\Interceptor->query('SELECT GET_LOCK...', Array) #8 /home/cda1/public_html/vendor/magento/framework/Cache/LockGuardedCacheLoader.php(134): Magento\Framework\Lock\Backend\Database->lock('cda1_bounce_202...', 0) #9 /home/cda1/public_html/vendor/magento/module-config/App/Config/Type/System.php(281): Magento\Framework\Cache\LockGuardedCacheLoader->lockedLoadData('SYSTEM_CONFIG', Object(Closure), Object(Closure), Object(Closure)) #10 /home/cda1/public_html/vendor/magento/module-config/App/Config/Type/System.php(207): Magento\Config\App\Config\Type\System->loadDefaultScopeData('default') #11 /home/cda1/public_html/vendor/magento/module-config/App/Config/Type/System.php(181): Magento\Config\App\Config\Type\System->getWithParts('default/logclea...') #12 /home/cda1/public_html/vendor/magento/framework/App/Config.php(132): Magento\Config\App\Config\Type\System->get('default/logclea...') #13 /home/cda1/public_html/generated/code/Magento/Framework/App/Config/Interceptor.php(50): Magento\Framework\App\Config->get('system', 'default/logclea...', NULL) #14 /home/cda1/public_html/vendor/magento/framework/App/Config.php(80): Magento\Framework\App\Config\Interceptor->get('system', 'default/logclea...') #15 /home/cda1/public_html/generated/code/Magento/Framework/App/Config/Interceptor.php(23): Magento\Framework\App\Config->getValue('logcleaner/gene...', 'default', NULL) #16 /home/cda1/public_html/app/code/Future/LogCleaner/Helper/Helper.php(40): Magento\Framework\App\Config\Interceptor->getValue('logcleaner/gene...') #17 /home/cda1/public_html/app/code/Future/LogCleaner/Helper/LogHelper.php(37): Future\LogCleaner\Helper\Helper->getModuleEnable() #18 /home/cda1/public_html/app/code/Future/LogCleaner/Observer/CheckLogSize.php(22): Future\LogCleaner\Helper\LogHelper->execute() #19 /home/cda1/public_html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(88): Future\LogCleaner\Observer\CheckLogSize->execute(Object(Magento\Framework\Event\Observer)) #20 /home/cda1/public_html/vendor/magento/framework/Event/Invoker/InvokerDefault.php(74): Magento\Framework\Event\Invoker\InvokerDefault->_callObserverMethod(Object(Future\LogCleaner\Observer\CheckLogSize), Object(Magento\Framework\Event\Observer)) #21 /home/cda1/public_html/vendor/magento/framework/Event/Manager.php(66): Magento\Framework\Event\Invoker\InvokerDefault->dispatch(Array, Object(Magento\Framework\Event\Observer)) #22 /home/cda1/public_html/generated/code/Magento/Framework/Event/Manager/Proxy.php(95): Magento\Framework\Event\Manager->dispatch('future_logclean...', Array) #23 /home/cda1/public_html/app/code/Future/LogCleaner/Logger/Monolog.php(44): Magento\Framework\Event\Manager\Proxy->dispatch('future_LogClean...', Array) #24 /home/cda1/public_html/vendor/monolog/monolog/src/Monolog/Logger.php(712): Future\LogCleaner\Logger\Monolog->addRecord(400, 'SQLSTATE[HY000]...', Array) #25 /home/cda1/public_html/vendor/magento/framework/Logger/LoggerProxy.php(126): Monolog\Logger->error('SQLSTATE[HY000]...', Array) #26 /home/cda1/public_html/vendor/magento/framework/App/Bootstrap.php(268): Magento\Framework\Logger\LoggerProxy->error('SQLSTATE[HY000]...') #27 /home/cda1/public_html/index.php(38): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor)) #28 {main}