navicat连接MySQL出现1251报错的解决办法

100 阅读1分钟

问题: navicat 连接 MySQL 出现 1251 报错

解决方法:

1. 使用管理员模式打开 cmd

2. 输入 mysql -uroot -p

3. 输入密码,进入 mysql>_

4. 输入

alter user 'root'@'localhost' identified with mysql_native_password by '你的密码';
flush privileges;

回车,问题解决。