Hi friends,
I installed mysql in ubuntu but, i don't know how to connect to that mysql. Actually we connect to postgresql by psql command, but when i tried to connect mysql with mysql command but it displaying this error:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
when i give mysql databasename it displaying the following error:
Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
So friends, what is the solution for this problem?