您现在的位置是:网站首页> 编程资料编程资料
mysql 8.0 错误The server requested authentication method unknown to the client解决方法_Mysql_
2023-05-27
341人已围观
简介 mysql 8.0 错误The server requested authentication method unknown to the client解决方法_Mysql_
mysql 安装了最新版本8.0.11后创建用户并授权后,授权的用户连接数据库提示
The server requested authentication method unknown to the client
查阅一些相关的资料后发现是由于新版本的mysql账号密码解锁机制不一致导致的
解决办法:
删除创建的用户和授权,
- 找到mysql配置文件并加入
- default_authentication_plugin=mysql_native_password
变为原来的验证方式,然后从新创建用户并授权即可
或
mysql -uroot -p use mysql; ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '你的密码';
以上就是出现这个错误的解决方法,如果大家还有更好的解决方案可以给在微信公众号留言,感谢大家对的支持。
您可能感兴趣的文章:
- Python使用QQ邮箱发送邮件报错smtplib.SMTPAuthenticationError
- django认证系统 Authentication使用详解
- Java Jedis NOAUTH Authentication required问题解决方法
- 如何解决redis的NOAUTH Authentication required异常
- springboot+Oauth2实现自定义AuthenticationManager和认证path
- HTTP基本认证(Basic Authentication)的JAVA实例代码
- form身份验证通过后,只能用FormsAuthentication.RedirectFromLoginPage
- Spring Security如何基于Authentication获取用户信息
相关内容
- mysql中general_log日志知识点介绍_Mysql_
- mysql第一次安装成功后初始化密码操作步骤_Mysql_
- MySQL中Multiple primary key defined报错的解决办法_Mysql_
- macOS下mysql 8.0.16 安装配置图文教程_Mysql_
- mac系统下mysql 8.0.11 安装指南_Mysql_
- Mysql错误Every derived table must have its own alias解决方法_Mysql_
- windows下mysql 8.0.15 详细安装使用教程_Mysql_
- mysql定时删除过期数据记录的简单方法_Mysql_
- Mybatis mapper动态代理的原理解析_Mysql_
- MySQL下载安装详情图文教程_Mysql_
