java.sql.SQLException: Unable to load authentication plugin ‘caching_sha2_password’.
这个问题是因为mysql 8.0 默认使用 caching_sha2_password 身份验证机制,从原来的mysql_native_password 更改为 caching_sha2_password。这还是说明没有真正使用到新jar包导致。
如果还不行,还有报其他异常,可以在 https://blog.csdn.net/weixin_46109017/article/details/113749667 查看更详细更全的解决办法,可收藏和留言