CDbException

CDbConnection failed to open the DB connection: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '127.0.0.1' (111 "Connection refused") (/data/www/data/allatra.life/vendor/yiisoft/yii/framework/db/CDbConnection.php:399)

#0 /data/www/data/allatra.life/vendor/yiisoft/yii/framework/db/CDbConnection.php(347): CDbConnection->open()
#1 /data/www/data/allatra.life/vendor/yiisoft/yii/framework/db/CDbConnection.php(325): CDbConnection->setActive(true)
#2 /data/www/data/allatra.life/vendor/yiisoft/yii/framework/base/CModule.php(394): CDbConnection->init()
#3 /data/www/data/allatra.life/vendor/yiisoft/yii/framework/base/CApplication.php(459): CModule->getComponent('db')
#4 /data/www/data/allatra.life/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(637): CApplication->getDb()
#5 /data/www/data/allatra.life/vendor/yiisoft/yii/framework/db/ar/CActiveRecord.php(113): CActiveRecord->getDbConnection()
#6 /data/www/data/allatra.life/protected/modules/redirect/models/Redirect.php(109): CActiveRecord->cache(3600)
#7 /data/www/data/allatra.life/protected/modules/yupe/components/HttpRequest.php(36): Redirect::checkRedirect(Object(yupe\components\HttpRequest))
#8 /data/www/data/allatra.life/vendor/yiisoft/yii/framework/web/CHttpRequest.php(119): yupe\components\HttpRequest->normalizeRequest()
#9 /data/www/data/allatra.life/vendor/yiisoft/yii/framework/base/CModule.php(394): CHttpRequest->init()
#10 /data/www/data/allatra.life/vendor/yiisoft/yii/framework/base/CModule.php(103): CModule->getComponent('request')
#11 /data/www/data/allatra.life/vendor/yiisoft/yii/framework/base/CErrorHandler.php(214): CModule->__get('request')
#12 /data/www/data/allatra.life/vendor/yiisoft/yii/framework/base/CErrorHandler.php(131): CErrorHandler->handleException(Object(CDbException))
#13 /data/www/data/allatra.life/vendor/yiisoft/yii/framework/base/CApplication.php(750): CErrorHandler->handle(Object(CExceptionEvent))
#14 [internal function]: CApplication->handleException(Object(CDbException))
#15 {main}