CDbException

CDbConnection failed to open the DB connection: SQLSTATE[HY000] [2002] No such file or directory (/home/dantrind/public_html/yii/framework/db/CDbConnection.php:382)

#0 /home/dantrind/public_html/yii/framework/db/CDbConnection.php(331): CDbConnection->open()
#1 /home/dantrind/public_html/yii/framework/db/CDbConnection.php(309): CDbConnection->setActive(true)
#2 /home/dantrind/public_html/yii/framework/base/CModule.php(388): CDbConnection->init()
#3 /home/dantrind/public_html/yii/framework/base/CApplication.php(431): CModule->getComponent('db')
#4 /home/dantrind/public_html/yii/framework/db/ar/CActiveRecord.php(624): CApplication->getDb()
#5 /home/dantrind/public_html/yii/framework/db/ar/CActiveRecord.php(2311): CActiveRecord->getDbConnection()
#6 /home/dantrind/public_html/yii/framework/db/ar/CActiveRecord.php(388): CActiveRecordMetaData->__construct(Object(Language))
#7 /home/dantrind/public_html/protected/models/Language.php(22): CActiveRecord::model('Language')
#8 /home/dantrind/public_html/protected/components/Controller.php(46): Language::model()
#9 /home/dantrind/public_html/yii/framework/web/CController.php(307): Controller->beforeAction(Object(CInlineAction))
#10 /home/dantrind/public_html/yii/framework/web/CController.php(287): CController->runAction(Object(CInlineAction))
#11 /home/dantrind/public_html/yii/framework/web/CController.php(266): CController->runActionWithFilters(Object(CInlineAction), Array)
#12 /home/dantrind/public_html/yii/framework/web/CWebApplication.php(283): CController->run('error')
#13 /home/dantrind/public_html/yii/framework/base/CErrorHandler.php(332): CWebApplication->runController('home/error')
#14 /home/dantrind/public_html/yii/framework/base/CErrorHandler.php(205): CErrorHandler->render('error', Array)
#15 /home/dantrind/public_html/yii/framework/base/CErrorHandler.php(130): CErrorHandler->handleException(Object(CHttpException))
#16 /home/dantrind/public_html/yii/framework/base/CApplication.php(713): CErrorHandler->handle(Object(CExceptionEvent))
#17 [internal function]: CApplication->handleException(Object(CHttpException))
#18 {main}