Error

SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

#0 /home/arquitec/public_html/lib/framework/Singleton/Singleton.php(11): Bd_Connection->initialize()
#1 /home/arquitec/public_html/lib/framework/Singleton/Singleton.php(20): Singleton->__construct()
#2 /home/arquitec/public_html/lib/framework/Bd/Bd.php(11): Singleton::getInstance()
#3 /home/arquitec/public_html/lib/framework/Bd/Bd_Object.php(202): Bd::returnSingle('SELECT COUNT(*)...')
#4 /home/arquitec/public_html/lib/framework/Bd/Bd_Object.php(213): Bd_Object::countResults(Array)
#5 /home/arquitec/public_html/lib/model/CalendarSimple/CalendarSimple.php(41): Bd_Object->countResultsObject(Array)
#6 /home/arquitec/public_html/lib/model/CalendarSimple/CalendarSimple.php(32): CalendarSimple->view()
#7 /home/arquitec/public_html/lib/model/Navigation/Navigation_Controller.php(364): CalendarSimple->calendar()
#8 /home/arquitec/public_html/index.php(24): Navigation_Controller->controlActions()
#9 {main}