I was trying to create a new database in mysql, on Mac Os X. But it was giving me error as shown here . As suggested in last solution, I restarted my laptop, and now I'm not able to connect to the MySql server at all.
I'm getting following error:
static-9:~ User$ mysql -u root -p Enter password: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)