PDA

View Full Version : CentOS mysqladmin error


chuckrox
4th August 2006, 01:43
On page 4 (at the bottom) of the CentOS 4.3 (64-bit) setup I run:

mysqladmin -u root password XXXPWDXXX
-no problem, but then run

mysqladmin -h XXXHOSTNAMEXXX -u root password XXXPWDXXX
-and get the folowing error:

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

I'm a Linux newb, could someone point me in the right direction.
Thanks
-Chuck

falko
5th August 2006, 17:00
Have a look here: http://www.howtoforge.com/forums/showthread.php?t=5982&highlight=mysqladmin+server1.example.com

chuckrox
6th September 2006, 00:22
Falko, thanks so much for your help. After playing around with it a bit I have gotten it working as desired.
-Chuck