My Oracle Support Banner

Using an older version of the connector that does not support caching_sha2_password, setting only the authentication-policy will cause connection problems. (Doc ID 2905509.1)

Last updated on NOVEMBER 27, 2022

Applies to:

MySQL Server - Version 8.0 and later
Information in this document applies to any platform.

Symptoms

In MySQL 8.0.27, the authentication_policy option was added, and the following warning is output to the error log at startup if you are setting the default_authentication_plugin in my.cnf.

To avoid this warning, you need to set only authentication_policy, but if you want to use the 'mysql_native_password' authentication method, you may have connection problems.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.