Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in /var/www/vhosts/anabuki-medical.jp/httpdocs/recruit/libs/class.DataBase.php on line 69

Warning: mysql_set_charset() expects parameter 2 to be resource, boolean given in /var/www/vhosts/anabuki-medical.jp/httpdocs/recruit/libs/class.DataBase.php on line 70

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /var/www/vhosts/anabuki-medical.jp/httpdocs/recruit/libs/class.DataBase.php on line 139
Invalid query:
Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Whole query: 
SELECT a.id ,a.area ,a.job ,a.viewjob ,a.outline, a.salary , a.facility , a.employment , a.dutyhours , a.image, a.registdate, b.areaCity  FROM am_recruit_tbl a  left join `am_facility_tbl` b on a.facility = b.id WHERE (a.status = "1" AND  (a.area = 28)  ) ORDER BY facility DESC , a.priority DESC , a.update DESC