1251 Client does not support authenticasider upgrading Mysotocol requested by ser解决办法

navicat premium连接数据库出现1251错误

报错:1251 Client does not support authenticasider upgrading Mysotocol requested by ser

navicat版本不支持这种格式的密码。
解决办法:

查看用户:

select host,user,plugin,authentication_string from mysql.user;

1251 Client does not support authenticasider upgrading Mysotocol requested by ser解决办法_第1张图片
复制下面文字,cmd进入mysql后,粘贴,修改密码('root1’重新设置密码),回车即可,这样navicat premium连接数据库成功

ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY 'root1';

报错ERROR 1396 (HY000): Operation ALTER USER failed for ‘root’@’%’:则用下面的localhost,

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root1'

你可能感兴趣的:(mysql,1251,Client,does,not,support,authen)