原因1
pom中mysql依赖的版本不对,导致无法连接mysql
原因2
SSL设置问题
参考
https://blog.csdn.net/qq_26346457/article/details/79741681