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' (13)

File: /xcs-private/core/KHXC/KHXC.php Line: 518 Error Number: 256