繁体   English   中英

MySql:身份验证方法“caching_sha2_password”失败

[英]MySql: Authentication method 'caching_sha2_password' failed

尝试从 .net 连接到 MySql 开始出现以下错误:

Authentication method 'caching_sha2_password' failed. Either use a secure connection, specify the server's RSA public key with ServerRSAPublicKeyFile, or set AllowPublicKeyRetrieval=True

出于某种奇怪的原因,解决方案是使用 MySql Workbench 登录服务器,然后服务器将再次开始接受连接。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM