Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) ? how to fix this.
It seems that MySQL is down on the server. If it is dedicated server then check the status of MySQL service and if you are on shared hosting server, contact your host. Kailash