Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 May 2001 17:51:12 -0400
From:      James Housley <jim@thehousleys.net>
To:        michael@327.ca
Cc:        Tony Wells <awells@journalstar.com>, freebsd-questions@freebsd.org
Subject:   Re: Problem with MySQL port
Message-ID:  <3B02F650.D537094C@thehousleys.net>
References:  <01051612525900.00561@h24-69-46-74.gv.shawcable.net> <3B02E3E4.C012CAE1@journalstar.com> <01051614483002.00561@h24-69-46-74.gv.shawcable.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael O'Henly wrote:
> 
> Thanks for the reply, Tony.
> 
> OK, I've tried: # mysqladmin -u root -p -password "[password]"
> I get the "Enter password: " prompt.
> Then I hit <Return>
> 
> ...and I get:
> 
> mysqladmin: Unknown command: "[password]"
> 
> So, I think there must be more to it than this. I'll take a closer look at
> the Changelog to try to figure out how the client's default behaviour has
> changed. (This makes sense because MySQL has been updated since I last
> installed it.)
> 
> Thanks again.

You need to do 1 of 2 things, to enter a password for the first time you
need to do

mysqladmin -u root password

or if you have a password

mysqladmin -p -u root password
or mysqladmin -u root --password=<password> password

man 1 mysqladmin might also be of some help

Jim
-- 
/"\   ASCII Ribbon Campaign  .
\ / - NO HTML/RTF in e-mail  .
 X  - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
jeh@FreeBSD.org      http://www.FreeBSD.org     The Power to Serve
jim@TheHousleys.Net  http://www.TheHousleys.net
---------------------------------------------------------------------
"...there's no idea that's so good you can't 
    ruin it with a few well-placed idiots." 
    -- Charles Spickman

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?3B02F650.D537094C>