[解决]】client does not support authentication问题

阅读 178

2022-08-30


今天在用Navicat for mysql 连接数据库的时候,出现了如下问题,找了很多答案,都没有解决,最后用如下方法成功解决问题。

首先通过CMD窗口登录到mysql,执行一下指令:

use mysql;
alter user 'root'@'localhost' identified with mysql_native_password by '123456';
flush privileges;

截图如下:

[解决]】client does not support authentication问题_连接数据库

然后再使用Navicat 连接完美解决。


精彩评论(0)

0 0 举报