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 ‘[email protected]#‘;
FLUSH PRIVILEGES;
原文地址:http://blog.51cto.com/13772470/2121518
时间: 2024-10-18 16:53:15