I get the following error
error: "Cannot connect to the local MySQL server through the socket '/var/lib/mysql/mysql.sock' (2) '
How to recover mysql.sock file?
[change]
I am trying to connect to mysql database from my ROR application. He worked until yesterday. But today I found out that the mysql.sock file is missing. I do not know the reason why the mysql.sock file was deleted from location / var / lib / mysql /. How to recover mysql.file?
Thanks.....
source share