I have mistakenly deleted some of the dependent file for mysql when I am trying to use mysql command i am getting following error :
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
I have tried reinstalling mysql-server but it still not resolved .
What should I do to bring back everything to normal condition.
EDIT: The operating system is UBUNTU . the log file(var/log/mysql_logs) is of byte . Nothing is there.
Please check the screenshot in this question . http://stackoverflow.com/questions/12140816/downgrade-to-rails-2-3-from-3-1-1how-to