My Oracle Support Banner

MySQL Connector/J Error Connecting To Mysql Server With caching_sha2_password Plugin (Doc ID 2800558.1)

Last updated on OCTOBER 01, 2024

Applies to:

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

Symptoms

MySQL Connector/J 8.0.x cannot connect to MySQL if the user authentication plugin is set to caching_sha2_password, but it works if the authentication plugin is mysql_native_password.

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.