General Error

Sorry, could not connect to the database. Please check your config.php

SQL ERROR: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)