Hi, Amol
I have executed all the command give by u . but still when i connect the error message is..
ERROR 2002: Can't connect to local MySQL Server through socket /var/lib/mysql/mysql.sock (2)
That file is a socket file, through which the MySQL client connects with the server. If the server is starting alright, the file exists somewhere on the file system. Somehow, your client cant seem to find it because it is not in the location it expects the file to be.
To remedy this, see my.cnf (generally found in /etc) and see where the socket file is being made. Change it to the value the client expects the file to be at.
If the location and filename is right, you might have a permissions problem.
Regards,
ah