MySql: Authentication method 'caching_sha2_password' failed

Viewed 84

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
1 Answers

For some weird reason, the solution is to sign into the server using MySql Workbench, and then the server will start accepting connections again.

Related