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

使用Navicat连接MySQL出现1251错误

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

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

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

相关文章:

  • 2021-04-25
  • 2021-05-05
  • 2021-12-10
猜你喜欢
  • 2021-09-28
  • 2021-09-21
  • 2021-07-26
  • 2021-07-27
  • 2021-12-06
  • 2021-04-15
  • 2021-05-17
  • 2022-01-18
相关资源
相似解决方案