RDS解决Client does not support authentication protocol requested by server; consider upgrading MySQL

编程知识 更新时间:2023-05-02 05:28:45

阿里云RDS解决报错Client does not support authentication protocol requested by server; consider upgrading MySQL client

本地Navicat连接报错:

解决方案:
登录阿里云RDS数据库(也可本地MYSQL远程登录进入修改,这里本地没装MYSQL)
输入以下命令:

//引号中的password为需要设置的密码,不改即写原来的;brendon为用户名。
alter user 'brendon'@'%' identified by 'password' password expire never;
flush privileges;


以上操作即可解决Client does not support authentication protocol requested by server; consider upgrading MySQL client报错。

注意:命令一旦执行成功,就必须退出登录,重新用新密码登录进去操作,否则继续操作会提示Access Denied。

更多推荐

RDS解决Client does not support authentication protocol requested by server; consid

本文发布于:2023-04-26 06:29:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/037805bf9f4024b7f0a9030db7418471.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:support   authentication   RDS   Client   protocol

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!

  • 104490文章数
  • 26215阅读数
  • 0评论数