报这个错可能是因为用了低版本的的客户端、驱动连接高版本的mysql服务器。

  解决方式有三种:升级客户端版本、修改服务端认证方式和适应服务端认证方式。

  我是通过升级客户端版本解决,参考一下链接:

  Upgrading to MySQL Connector/J 8.0

 

  同时收集了其他的解决问题的链接:

  连接mysql 出现:java.sql.SQLException: Unable to load authentication plugin 'caching_sha2_password'

相关文章:

  • 2021-06-12
  • 2022-01-01
  • 2022-12-23
  • 2021-07-17
  • 2022-12-23
  • 2021-06-30
  • 2021-10-02
  • 2021-09-25
猜你喜欢
  • 2021-09-25
  • 2021-12-30
  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
  • 2021-06-05
相关资源
相似解决方案