Re: MySQL password



Richard,

I'd remove the quote mark from your password. The shell will do
something with this and mangle the command line.

Regards,
Tony.

On 16/06/10 16:19, R Kimber wrote:
In my 10.04 logs logcheck tells me I have the following:

mysqld[14731]: PLEASE REMEMBER TO SET A PASSWORD
FOR THE MySQL root USER !

mysqld[14731]: To do so, start the server, then issue the following
commands:
mysqld[14731]: /usr/bin/mysqladmin -u root password 'new-password'
mysqld[14731]: /usr/bin/mysqladmin -u root -h infinity password
'new-password'

/usr/sbin/mysqld is running
When I try /usr/bin/mysqladmin -u root password newpassword-that-isn't-NO
I get:-
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'

I'd be grateful for advice.
- Richard.

--
Tony Arnold, Tel: +44 (0) 161 275 6093
Head of IT Security, Fax: +44 (0) 705 344 3082
University of Manchester, Mob: +44 (0) 773 330 0039
Manchester M13 9PL. Email: tony.arnold@xxxxxxxxxxxxxxxx

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users