1.需要在数据库连接参数加上allowMultiQueries=true
spring.datasource.url = jdbc:mysql://localhost:3306/xxx?useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC&allowMultiQueries=true
1.需要在数据库连接参数加上allowMultiQueries=true
spring.datasource.url = jdbc:mysql://localhost:3306/xxx?useUnicode=true&characterEncoding=utf-8&serverTimezone=UTC&allowMultiQueries=true