Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 2004 12:27:59 +0000
From:      Dima Dorfman <dima@trit.org>
To:        Stefan Moro <moro@medic.chalmers.se>
Cc:        freebsd-database@freebsd.org
Subject:   Re: mysql40 and FBSD 4.9
Message-ID:  <20040208122758.GA6532@trit.org>
In-Reply-To: <Pine.GSO.4.58.0402081256110.20804@moro.dtek.chalmers.se>
References:  <Pine.GSO.4.58.0402081256110.20804@moro.dtek.chalmers.se>

next in thread | previous in thread | raw e-mail | index | archive | help
Stefan Moro <moro@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@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.



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