mysql40 and FBSD 4.9

Dima Dorfman dima at trit.org
Sun Feb 8 04:28:05 PST 2004


Stefan Moro <moro at medic.chalmers.se> wrote:
> Afetr the
> installation I was trying to set the mysql root-users password with
> mysqladmin -u root password 'new-password'
> 
> when i tried that I got the following message:
> 
> mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user: 'root at localhost' (Using password: NO)'

"Using password: NO" means that the client tried to authenticate
without sending a password.  Try:

	mysqladmin -u root -p password 'new-password'

Note the added -p flag, which should cause the client to prompt you
for the current root password.

Hope this helps,

Dima.


More information about the freebsd-database mailing list