Script Execution Error

The MySQL extension could not connect to the database. MySQL reported the error as: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

File: /core/KHXC/KHXC.php Line: 514 Error Number: 256