一、报错如下:
解决方案;添加依赖如下
二、报错如下:
According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You nee
解决方案:
jdbc:mysql://localhost:3306/demo
加上 ?useSSL=false
找到自己的JDBC url
修改如下
jdbc:mysql://localhost:3306/demo?useSSL=false即可