On 4/20/05, Arran Fraser <[EMAIL PROTECTED]> wrote:
> > dragonfly ~ # /usr/bin/mysqladmin -u root -h dragonfly password xyz
> > /usr/bin/mysqladmin: connect to server at 'dragonfly' failed
> > error: 'Lost connection to MySQL server during query'
> 
> Unless you intend to run MySQL on a different box later, you should omit
> "-h dragonfly" or replace with "-h localhost".
> 
> --
> Arran Fraser
> --
> gentoo-user@gentoo.org mailing list
> 
> 
OK, one time it allowed me to set a password. However no form of this
command seems to work for me so far. Is it the Using password: No
telling me to not use a password?

[EMAIL PROTECTED] ~ $ /usr/bin/mysqladmin -u root password xyz
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: '[EMAIL PROTECTED]' (Using password: NO)'
[EMAIL PROTECTED] ~ $ /usr/bin/mysqladmin -u root -h localhost password xyz
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: '[EMAIL PROTECTED]' (Using password: NO)'
[EMAIL PROTECTED] ~ $ su -
Password:
dragonfly ~ # /usr/bin/mysqladmin -u root -h localhost password xyz
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: '[EMAIL PROTECTED]' (Using password: NO)'
dragonfly ~ #

Thanks,
Mark

-- 
gentoo-user@gentoo.org mailing list

Reply via email to