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 登录服务器,然后服务器将再次开始接受连接。
尝试从 .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 登录服务器,然后服务器将再次开始接受连接。