标签:mysql安装
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;
标签:mysql安装
原文地址:http://blog.51cto.com/13772470/2121518