Script Execution Error

The following error was just encountered:

DBI connect('host=localhost;database=elitedecore','elitedecore',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) at /var/www/elitedecore/htdocs/ccp51/cgi-bin/library/common/database.pl line 236.