007-解决Navicat报错1251-Client does not support authentication p

时间:2022-01-24 00:22:08

报错:

007-解决Navicat报错1251-Client does not support authentication p

 解决方法:

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

007-解决Navicat报错1251-Client does not support authentication p

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

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

刷新权限:flush privileges;

再看看加密方式:

007-解决Navicat报错1251-Client does not support authentication p

没有乱码现象

再次尝试:

007-解决Navicat报错1251-Client does not support authentication p