MySQL登录进去之后,执行语句出现报错:

root@localhost 09:05:  [(none)]> use mysql;
ERROR 1820 (HY000): Unknown error 1820
root@localhost 09:05: [(none)]> show tables;
ERROR 1046 (3D000):

解决办法:

root@localhost 09:06:  [(none)]> set password=password('密码');

ERROR 1820 (HY000): Unknown error 1820,ERROR 1046 (3D000):_mysql

 希望对你有所帮助