详情错误:ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
通过 desc user;命令查看有哪些表
mysql> update user set authentication_string=password('123456') where user='root';
Query OK, 1 row affected, 1 warning (0.00 sec)
Rows matched: 1 Changed: 1 Warnings: 1