Incoming from Christian Hammers:
> severity 367789 normal
> thanks
> 
> On 2006-05-17 s. keeling wrote:
> >    (0) heretic [root] /root_ /usr/bin/mysqladmin -u root password '_______'
> >    /usr/bin/mysqladmin: connect to server at 'localhost' failed
> >    error: 'Access denied for user: '[EMAIL PROTECTED]' (Using password:
> >    YES)'
> 
> It says "Using password: YES" although you did not specify a login password

I did supply a password; that's what (obfuscated) '_______' means.

> > I have a ~root/.my.cnf listing the password I intend to use, and it is
> > chmod 600.
> Eh, well, that's it. You can't say mysql to use a root password *before*
> you actually set it. Move /root/.my.cnf away, then set the password and then

That works, thanks.  I do wish you could fold in getting a root
password (and user and user password?) at install time.  Wouldn't that
keep me from ragging on you everytime this happens?  :-)

> BTW: You only need [client], mysql and mysqladmin both also parse them, IIRC.

Yup, thanks again.  Much appreciated.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)    http://www.spots.ab.ca/~keeling      Please don't Cc: me.
- -



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to