Locked out of MySQL somehow!
This could probably be in a better topic but this looks fitting for now!
OK so out of nowhere (no system changes or anything) I am unable to login (usefully) as root to mysql. The only thing I can think of is some sort of security that was triggered when I tried to use mysql admin from windows. MySQL is running on my Gentoo server and here is what is happening... I have a website I run for tracking reptile feedings and other stats, can't connect to that db and i can't change the password for root! I have restated the service, but that didn't help. Code:
mysql> UPDATE mysql.user SET Password=PASSWORD('foobar') WHERE User='root'; Code:
# /usr/bin/mysqladmin -u root password 'foobar' Code:
Set root password? [Y/n] Y Code:
mysql> show grants; My cacti is still running so it is not a system wide problem. But I need to get the root user back to normal ASAP! |
All times are GMT -5. The time now is 03:45 PM. |