1.配置文件没有规定编码格式
spring.datasource.url = jdbc:mysql://localhost:3306/indexsystem_view?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&allowMultiQueries=true
2.重启发现无法启动系统
spring.datasource.url = jdbc:mysql://localhost:3306/indexsystem_view?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&allowMultiQueries=true
SSL设置问题,将以上ssl设置改为false
参考 https://blog.csdn.net/qq_26346457/article/details/79741681