1 2 3 4 | vi /etc/my.cnf [mysqld] skip- grant -tables :wq! #保存退出 |
1 2 3 | # mysql -u root -p > use mysql > select * from mysql. user where user = 'root' \G |
1 2 3 4 5 6 7 8
|
1 2 3 4 | vi /etc/my.cnf [mysqld] skip- grant -tables :wq! #保存退出 |
1 2 3 | # mysql -u root -p > use mysql > select * from mysql. user where user = 'root' \G |
1 2 3 4 5 6 7 8
|