Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
wat could be the prob anyone help??🙁 🙁
Make sure the mysql server is running. This error usually comes up when the server is stopped.
If mysqld is running, then the mysql.sock is in a different location - edit your my.cnf so client socket = mysql socket, e.g.
[client] socket = /tmp/mysql.sock
[mysqld] ... socket = /tmp/mysql.sock