Client does not support authentication protocol requested by server; conside

进入mysql.exe

mysql -u root -p 12345

1、

ALTER USER 'root'@'localhost' IDENTIFIED BY '12345' PASSWORD EXPIRE NEVER;

2、
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '12345';

3、
FLUSH PRIVILEGES; 

posted @ 2022-03-20 21:36  bH1pJ  阅读(822)  评论(0编辑  收藏  举报