PDA

View Full Version : MySQL and Perfect Setup Mandriva 2007


woozyerdaddee
17th February 2009, 06:24
I have done both this setup and have done Mandriva 2005 dozens of times with no problems. I have now reformatted the drives a half dozen times, and reinstalled fresh and I keep getting the same results. When I do:

mysqladmin -u root password (my password here)

it returns, with no error. Then I do this:

mysqladmin -h servername.domain.com -u root password (my password here)

I get this as a result:

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


Like I said, I have used these tutorials as guides dozens of times with no problems, this time, I get the same thing over and over. What am I doing wrong?

falko
18th February 2009, 21:10
You're probably using the wrong hostname. Chapter 10 on http://www.howtoforge.com/perfect-server-fedora-10-p4 might help you to correct this.

woozyerdaddee
8th March 2009, 00:32
Falko, As always, YOU ARE THE MAN! :)