[英]php myqli_connect failed .The server requested authentication method unknown to the client [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.