一. 由于使用的是springboot默认的 mysql-connector-java 版本是八点多, 导致报了这个错误
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
二. 解决办法:
将数据库连接版本降低成5.1.37 即可