pmcarson
November 2nd, 2006, 07:35 PM
Hello all,
I am in a beginning Linux programming class, and was playing around with mySQL. My book told me to run the following commands
mysql> DELETE FROM mysql.user WHERE user != 'root';
mysql> DELETE FROM mysql.user WHERE host != 'localhost';
I was doing this assignment, but accidentally typed:
mysql> DELETE FROM mysql.user WHERE user != 'localhost';
and now I am unable to log in to mySQL. I don't know what happened, but I am very frustrated.
Any input you have would be much appreciated.
Thx in advance. ](*,)
I am in a beginning Linux programming class, and was playing around with mySQL. My book told me to run the following commands
mysql> DELETE FROM mysql.user WHERE user != 'root';
mysql> DELETE FROM mysql.user WHERE host != 'localhost';
I was doing this assignment, but accidentally typed:
mysql> DELETE FROM mysql.user WHERE user != 'localhost';
and now I am unable to log in to mySQL. I don't know what happened, but I am very frustrated.
Any input you have would be much appreciated.
Thx in advance. ](*,)