Reputation: 23224
Trying to connect to MySql from .net started giving me the following error:
Authentication method 'caching_sha2_password' failed. Either use a secure connection, specify the server's RSA public key with ServerRSAPublicKeyFile, or set AllowPublicKeyRetrieval=True
Upvotes: 2
Views: 808
Reputation: 23224
For some weird reason, the solution is to sign into the server using MySql Workbench, and then the server will start accepting connections again.
Upvotes: 5