场景:从代码仓库拉取以前的代码,运行时发现报错“java.sql.SQLException: Unable to load authentication plugin 'caching_sha2_password'”。
解决:
更换mysql-connector-java的依赖的版本为“8.0.11”。
原来的版本:
现在的版本:
场景:从代码仓库拉取以前的代码,运行时发现报错“java.sql.SQLException: Unable to load authentication plugin 'caching_sha2_password'”。
解决:
更换mysql-connector-java的依赖的版本为“8.0.11”。
原来的版本:
现在的版本: