|
@@ -130,12 +130,12 @@ spring:
|
|
|
poolPreparedStatements: true
|
|
|
maxPoolPreparedStatementPerConnectionSize: 20
|
|
|
# 配置监控统计拦截的filters,去掉后监控界面sql无法统计,'wall'用于防火墙
|
|
|
- filters: stat,wall,slf4j
|
|
|
+ filters: stat,slf4j
|
|
|
# 通过connectProperties属性来打开mergeSql功能;慢SQL记录
|
|
|
connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
|
|
|
datasource:
|
|
|
master:
|
|
|
- url: jdbc:mysql://139.186.27.96:4000/jeecg-boot?characterEncoding=UTF-8&useUnicode=true
|
|
|
+ url: jdbc:mysql://139.186.27.96:4000/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&allowMultiQueries=true
|
|
|
username: hcst
|
|
|
password: hcst@2020
|
|
|
driver-class-name: com.mysql.jdbc.Driver
|