CDbException

CDbConnection failed to open the DB connection: SQLSTATE[HY000] [2002] No route to host (/opt/lampp/htdocs/tdoptions/protected/vendors/yiisoft/yii/framework/db/CDbConnection.php:399)

#0 /opt/lampp/htdocs/tdoptions/protected/vendors/yiisoft/yii/framework/db/CDbConnection.php(347): CDbConnection->open()
#1 /opt/lampp/htdocs/tdoptions/protected/vendors/yiisoft/yii/framework/db/CDbConnection.php(325): CDbConnection->setActive(true)
#2 /opt/lampp/htdocs/tdoptions/protected/vendors/yiisoft/yii/framework/base/CModule.php(394): CDbConnection->init()
#3 /opt/lampp/htdocs/tdoptions/protected/vendors/cornernote/yii-audit-module/audit/AuditModule.php(216): CModule->getComponent('db_audit')
#4 /opt/lampp/htdocs/tdoptions/protected/vendors/cornernote/yii-audit-module/audit/components/AuditActiveRecord.php(133): AuditModule->getDbConnection()
#5 /opt/lampp/htdocs/tdoptions/protected/vendors/cornernote/yii-audit-module/audit/components/AuditActiveRecord.php(66): AuditActiveRecord->getDbConnection()
#6 /opt/lampp/htdocs/tdoptions/protected/vendors/cornernote/yii-audit-module/audit/components/AuditActiveRecord.php(37): AuditActiveRecord->createTable()
#7 /opt/lampp/htdocs/tdoptions/protected/vendors/cornernote/yii-audit-module/audit/components/AuditErrorHandler.php(123): AuditActiveRecord->__construct()
#8 /opt/lampp/htdocs/tdoptions/protected/vendors/cornernote/yii-audit-module/audit/components/AuditErrorHandler.php(111): AuditErrorHandler->logErrorEvent(Object(CErrorEvent))
#9 /opt/lampp/htdocs/tdoptions/protected/vendors/yiisoft/yii/framework/base/CApplication.php(824): AuditErrorHandler->handle(Object(CErrorEvent))
#10 /opt/lampp/htdocs/tdoptions/protected/controllers/SiteController.php(341): CApplication->handleError(2, 'Invalid argumen...', '/opt/lampp/htdo...', 341, Array)
#11 /opt/lampp/htdocs/tdoptions/protected/vendors/yiisoft/yii/framework/web/actions/CInlineAction.php(49): SiteController->actionNews()
#12 /opt/lampp/htdocs/tdoptions/protected/vendors/yiisoft/yii/framework/web/CController.php(308): CInlineAction->runWithParams(Array)
#13 /opt/lampp/htdocs/tdoptions/protected/vendors/yiisoft/yii/framework/web/filters/CFilterChain.php(133): CController->runAction(Object(CInlineAction))
#14 /opt/lampp/htdocs/tdoptions/protected/controllers/SiteController.php(59): CFilterChain->run()
#15 /opt/lampp/htdocs/tdoptions/protected/vendors/yiisoft/yii/framework/web/filters/CInlineFilter.php(58): SiteController->filterAdminRedirect(Object(CFilterChain))
#16 /opt/lampp/htdocs/tdoptions/protected/vendors/yiisoft/yii/framework/web/filters/CFilterChain.php(130): CInlineFilter->filter(Object(CFilterChain))
#17 /opt/lampp/htdocs/tdoptions/protected/controllers/SiteController.php(71): CFilterChain->run()
#18 /opt/lampp/htdocs/tdoptions/protected/vendors/yiisoft/yii/framework/web/filters/CInlineFilter.php(58): SiteController->filterLayout(Object(CFilterChain))
#19 /opt/lampp/htdocs/tdoptions/protected/vendors/yiisoft/yii/framework/web/filters/CFilterChain.php(130): CInlineFilter->filter(Object(CFilterChain))
#20 /opt/lampp/htdocs/tdoptions/protected/vendors/yiisoft/yii/framework/web/CController.php(291): CFilterChain->run()
#21 /opt/lampp/htdocs/tdoptions/protected/vendors/yiisoft/yii/framework/web/CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array)
#22 /opt/lampp/htdocs/tdoptions/protected/vendors/yiisoft/yii/framework/web/CWebApplication.php(282): CController->run('news')
#23 /opt/lampp/htdocs/tdoptions/protected/vendors/yiisoft/yii/framework/web/CWebApplication.php(141): CWebApplication->runController('site/news')
#24 /opt/lampp/htdocs/tdoptions/protected/vendors/yiisoft/yii/framework/base/CApplication.php(184): CWebApplication->processRequest()
#25 /opt/lampp/htdocs/tdoptions/index.php(19): CApplication->run()
#26 {main}