Symphony Database Error

There was a problem whilst attempting to establish a database connection. Please check all connection information is correct. The following error was returned.

2002: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)