I am getting the following error
error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)'
How can i restore the mysql.sock file?
[Edit]
I am trying to connect to mysql database from my ROR application. It was working fine till yesterday. But today I found out the mysql.sock file was missing. I don't know the reason of what led to deletion of mysql.sock file from location /var/lib/mysql/. How can i restore the mysql.file?
Thanks.....