您好,欢迎来到纷纭教育。
搜索
您的当前位置:首页Client does not support authentication protocol requested by server; consider upgrading MySQL client

Client does not support authentication protocol requested by server; consider upgrading MySQL client

来源:纷纭教育

开门见山,请看描述

报错原因:navicat版本的问题导致连接失败。

mysql8 之前的版本中加密规则是:mysql_native_password

mysql8之后,加密规则是caching_sha2_password

解决方案:

①升级navicat,使其跟mysql8版本规则一致(这里不做讲解)

②把用户密码登录的规则还原成mysql_native_password

方法②步骤如下:

1、进入数据库

        mysql -uroot -p

 2、使用my

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- fenyunshixun.cn 版权所有 湘ICP备2023022495号-9

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务