使用Navicat连接MySQL出现1251错误

问题:navicat连接mysql时报错:1251-Client does not support authentication protocol requested by server; consider upgrading MySQL client

解决方法:打开mysql输入以下命名:

use mysql;
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '你的密码';
FLUSH PRIVILEGES;

其中,root为用户名,你的密码改为用户名对应的密码即可

原文地址:https://www.cnblogs.com/xiaodai0/p/10937786.html