On Thu, Jul 29, 2010 at 12:53 AM, Abhishek Gupta <
[email protected]> wrote:

> > I think the username is root
> > and you have to set password using command
> > $ sudo mysqladmin -u root password YOURPASSWORD
>
> I am getting the following error:
> mysqladmin: connect to server at 'localhost' failed
> error: 'Can't connect to local MySQL server through socket '/var/run/
> mysqld/mysqld.sock' (2)'
> Check that mysqld is running and that the socket: '/var/run/mysqld/
> mysqld.sock' exists!
>


before running the command u hav to run your mysql

for this use command  $service mysqld start

>  then use the above password set command it will work


-- 
REGARDS
Sharad Kumar

Visit my blog at :-
http://techshaddy.wordpress.com/

IRCNICK - #techshaddy

-- 
l...@iitd - http://tinyurl.com/ycueutm

Reply via email to