本文共 345 字,大约阅读时间需要 1 分钟。
mysql正常安装结束之后需要连接你所安装的数据库的时候出现下面的错误:
Client does not support authentication protocol requested by server;consider upgrading mysql client
解决方法:
启动:mysql 8.0 command line client之后输入下面的代码即可。
use mysql;ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123qwe!@#';FLUSH PRIVILEGES;转载于:https://blog.51cto.com/13772470/2121518