Cannot Log into MySQL root password I just set...
I just set the root password for my mysql server using the following command:
root@struik img]# mysqladmin -u root password 'password
(no password is not what I was really using, it is just there for explanation)
As you can see, the mistake I made was not putting the final ' before hitting enter. So somehow Fedora read this not as the word password but as something else, so I cannot log in, evening use the word password.
Whenever I try to log into root, the following occures:
[root@struik img]# mysql -u root -p
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
My question obviously is, what did Fedora Think I had entered for a password if not the word password? How can I enter this strange string with a return in it so I can log in to the MySQL server and change the password or can I change it some other way, short of reinstalling the whole Fedora installation.
Thanks in advance for your help.