Setting the root mysql password

Paul F. Johnson paul at
Thu Apr 21 22:01:53 UTC 2005


I'm trying to set the root password for mysql using

mysqladmin -u root password <new_pass>

but all I'm getting back is 

mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user 'root'@'localhost' (using password: NO)'

mysqld is running

/etc/hosts has the following   localhost.localdomain T7.linux localhost T7

Any ideas?

Using fc4t2, mysql-4.1.11-2


"In an urban society, everything connects. Each person's needs are fed
by the skills of many others. Our lives are woven together in a fabric.
But the connections that make society strong also make it vulnerable." -
Threads, BBC-TV 1984

More information about the test mailing list