2
Unable to load authentication plugin 'caching_sha2_password'.

Getting this error.

Have this dependency:

<dependency>
  <groupId>mysql</groupId>
  <artifactId>mysql-connector-java</artifactId>
  <version>8.0.12</version>
</dependency>

(8.0.14 has the same error) and the version of mysql I try to connect to is 8.0.12.

How can I fix that error (without switching to mysql_native_password).

theonlygusti
  • 11,032
  • 11
  • 64
  • 119
  • Possible duplicate of [How to resolve Unable to load authentication plugin 'caching\_sha2\_password' issue](https://stackoverflow.com/questions/50387952/how-to-resolve-unable-to-load-authentication-plugin-caching-sha2-password-issu) – Ramesh Subramanian Jan 29 '19 at 04:24
  • Please check this link - https://www.spigotmc.org/threads/mysql-errors-unable-to-load-authentication-plugin-caching_sha2_password.304616/ – Ramesh Subramanian Jan 29 '19 at 04:26
  • @RameshSubramanian without switching to mysql_native_password – theonlygusti Jan 29 '19 at 04:38
  • The last item in [release notes](https://dev.mysql.com/doc/relnotes/connector-j/8.0/en/news-8-0-14.html) is a fix to ChangeUser. Have you tried 8.0.14? – danblack Jan 29 '19 at 06:16
  • @danblack also doesn't work (same error) – theonlygusti Jan 29 '19 at 06:34

0 Answers0