You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Starting from MySQL 8.4.0, the default authentication plugin is' caching_sha2_password ', while the' mysql_cative_password 'authentication plugin is no longer enabled by default. How can I use the' caching_sha2_password 'plugin to connect now?
The text was updated successfully, but these errors were encountered:
Any progress on this? On MySql server 8.4 mysql_native_password is deprecated and on 9.0 it is removed. Please provide guidance on how to proceed considering these changes.
Are you getting an exception of some sort? If so, when? (Also post the exception with the full stack trace.)
Is this related to Pomelo? If so, please provide instructions/a minimal reproducible example for us.
Are you trying to configure the connection string? Take a look at the supported options.
You can find more information on the caching_sha2_password plugin in the official MySQL docs
So far, this sounds to me like you have your MySQL server (or user account) not configured correctly, in which case StackOverflow (and related sites) would be the place to ask others for help.
Important
To connect to the server using an account that authenticates with the caching_sha2_password plugin, you must use either a secure connection or an unencrypted connection that supports password exchange using an RSA key pair, as described later in this section. Either way, the caching_sha2_password plugin uses MySQL's encryption capabilities. See Section 8.3, “Using Encrypted Connections”.
So to properly connect, either make sure you are using an SSL/TLS connection (see the SslMode connection string option) or RSA password exchange key pair (see the ServerRSAPublicKeyFile and AllowPublicKeyRetrieval connection string options).
Starting from MySQL 8.4.0, the default authentication plugin is' caching_sha2_password ', while the' mysql_cative_password 'authentication plugin is no longer enabled by default. How can I use the' caching_sha2_password 'plugin to connect now?
The text was updated successfully, but these errors were encountered: