Ok, I managed to mess something up and I forgot or made a wrong entry somewhere for my MySQL password.
How can I uninstall MySQL and re-install a fresh copy?
I have tried this but got an error:
Code:
[root@localhost /]# rpm -e mysql
error: Failed dependencies:
mysql = 5.0.67-2.fc10 is needed by (installed) mysql-server-5.0.67-2.fc10.i386
mysql is needed by (installed) MySQL-python-1.2.2-7.fc10.i386
[SOLVED]
rpm -qa | grep -i mysql
then
rpm -e
in some order
[NOT SOLVED]
I uninstalled mysql and installed it again however when I try to login:
Code:
[root@localhost /]# mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
[root@localhost /]# mysql -u root -p
Enter password:
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
HELP!!!