MySqlConnector.MySqlException:“Authentication method 'caching_sha2_password' failed
MySqlConnector.MySqlException:“Authentication method 'caching_sha2_password' failed. Either use a secure connection, specify the server's RSA public key with ServerRSAPublicKeyFile, or set AllowPublicKeyRetrieval=True.”
解决方案
在连接字符串添加: AllowPublicKeyRetrieval=True;
版权声明:本文为开发框架文库发布内容,转载请附上原文出处连接
NewDoc C/S框架网