Error connecting to database

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Page will refresh in 5 seconds to attempt another connection