I'm having the problem described in title.
I have tried the solutions given here: Unable to login to MYSQL getting error ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) and here: http://www.cyberciti.biz/faq/cant-connect-to-local-mysql-server-through-socket-varlibmysqlmysql-sock-2/
Please help me. Im using fedora 18 and MySQL 5.1.
Thanks in advance!