MySQL安装时出现的问题

时间:2018-06-11 11:32:52   收藏:0   阅读:249

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://www.cnblogs.com/killclock048/p/9166228.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!