您的位置:首页 > 博客中心 > 数据库 >

007-解决Navicat报错1251-Client does not support authentication protocol requested by server;consider upgrading MySQL client

时间:2022-03-15 17:56

报错:

技术图片

 解决方法:

输入select host,user,plugin,authentication_string from mysql.user;  看用户信息

技术图片

更改加密方式,重置密码:(原加密方式为:alter user ‘root‘@‘localhost‘ identified by  ‘123‘;)

alter user ‘root‘@‘localhost‘ identified by  ‘123‘; 

刷新权限:flush privileges;

再看看加密方式:

技术图片

没有乱码现象

再次尝试:

技术图片

 

热门排行

今日推荐

热门手游