mysql8 安装完成client无法等问题解决方案
软件编程
208
皇太极
: 2021-02-22 17:43:24

1 先按照如下方案操作,重置密码
https://www.cnblogs.com/greenteaone/p/9994477.html

2 将认证方式修改为 mysql_native_password

mysql -h localhost -u root -p

USE mysql;

ALTER USER ‘root’@’localhost’ IDENTIFIED WITH mysql_native_password BY ‘123456’;

FLUSH PRIVILEGES;


参考: https://www.cnblogs.com/greenteaone/p/9994477.html