Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Feb 2002 08:14:40 -0800 (PST)
From:      Andrew Gould <andrewgould@yahoo.com>
To:        pirat sriyotha <makhamus@yahoo.com>, questions@FreeBSD.ORG
Subject:   Re: mysqladmin for root user
Message-ID:  <20020210161440.61093.qmail@web13407.mail.yahoo.com>
In-Reply-To: <20020210032901.16190.qmail@web14806.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--- pirat sriyotha <makhamus@yahoo.com> wrote:
> hi sirs,
> 
> apologize me for disturbing this list but i really
> need your help. i've installed mysql323-server a few
> minutes ago and restarted my 4.5-stable FreeBSD box.
> 
> once i enter command mysqladmin -u root -p password
> `newpassword', i got and error that says
> 
> mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user: 'root@localhost'
> (Using password: YES)'
> 
> i entered this command both from plain user and
> super
> user with the same error.
> 
> anyone hints are appreciated.
> 
> please cc to me too.
> 
> with best regards,
> psr

Eliminate the -p in your command line:

mysqladmin -uroot password "new_password"

The -p prompts for an existing password; thus, the
error message.

Best of luck,

Andrew Gould


__________________________________________________
Do You Yahoo!?
Send FREE Valentine eCards with Yahoo! Greetings!
http://greetings.yahoo.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020210161440.61093.qmail>