Navicat 连接MySql报错:1251 - Client does not support authentication protocol....

连接报错
Navicat 连接MySql报错:1251 - Client does not support authentication protocol...._第1张图片

解决办法,cmd登录mysql,在mysql命令行输入下面两行命令
root为你的用户名,password输入你的密码

 alter user 'root'@'localhost' identified with mysql_native_password by 'password';
 flush privileges;

重新连接navicat
Navicat 连接MySql报错:1251 - Client does not support authentication protocol...._第2张图片

你可能感兴趣的:(MySQL,mysql,数据库)