天天看点

1251-Client does not support authentication protocol requested by server;解决

Mysql 8.0的版本,装好之后Navicat远程连接就一直报错1251

如示:1251-Client does not support authentication protocol requested by server;

1251-Client does not support authentication protocol requested by server;解决

打开mysql命令界面如图输入后即可正常连接;(命令后分号切记)

ALTER USER ‘root’@‘localhost’ IDENTIFIED WITH mysql_native_password BY ‘mysql的密码’;

mysql的密码是安装mysql时设置的密码

输入FLUSH PRIVILEGES;

继续阅读