MySQL Forums
Forum List  »  MySQL Administrator

MySQL Server ERROR
Posted by: Yesodha K
Date: October 25, 2012 10:26PM

Hi everybody,
I am a new to this forum.

When i try to login on mysql server it gives an error

mysql -u root -p

Enter password:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Even i tried following command
$ sudo mysqladmin password newpassword

I get same error,

If someone knows how to resolve this problem please help me.

Thanks in advance,
Yesodha



Edited 2 time(s). Last edit at 10/25/2012 10:29PM by Yesodha K.

Options: ReplyQuote


Subject
Written By
Posted
MySQL Server ERROR
October 25, 2012 10:26PM
October 29, 2012 01:43AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.