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(237): Bd::returnSingle('SELECT * FROM F...')
#4 /home/arquitec/public_html/lib/model/Navigation/Navigation_Controller.php(538): Bd_Object::readFirst(Array)
#5 /home/arquitec/public_html/index.php(24): Navigation_Controller->controlActions()
#6 {main}