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: /private/core/CORE/CORE.php Line: 454 Error Number: 256