问题:
Caused by: org.apache.ibatis.exceptions.PersistenceException: ### Error querying database. Cause: org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLException: Connections could not be acquired from the underlying database!
原因:数据库连接配置问题(没有加&serverTimezone=GMT)
修改后:
jdbc.url=jdbc:mysql://localhost:3306/####?useSSL=false&useUnicode=true&characterEncoding=utf8&serverTimezone=GMT