mirror of https://gitee.com/xiaonuobase/snowy
增加mysql jdbc url rewriteBatchedStatements=true配置,提升批量保存性能
parent
bff8a175e3
commit
d2c9912724
|
@ -27,7 +27,7 @@ spring.servlet.multipart.max-file-size=100MB
|
||||||
|
|
||||||
# mysql
|
# mysql
|
||||||
spring.datasource.dynamic.datasource.master.driver-class-name=com.mysql.cj.jdbc.Driver
|
spring.datasource.dynamic.datasource.master.driver-class-name=com.mysql.cj.jdbc.Driver
|
||||||
spring.datasource.dynamic.datasource.master.url=jdbc:mysql://localhost:3306/snowy?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&useInformationSchema=true
|
spring.datasource.dynamic.datasource.master.url=jdbc:mysql://localhost:3306/snowy?useUnicode=true&characterEncoding=utf-8&useSSL=false&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&useInformationSchema=true&rewriteBatchedStatements=true
|
||||||
spring.datasource.dynamic.datasource.master.username=root
|
spring.datasource.dynamic.datasource.master.username=root
|
||||||
spring.datasource.dynamic.datasource.master.password=123456
|
spring.datasource.dynamic.datasource.master.password=123456
|
||||||
spring.datasource.dynamic.strict=true
|
spring.datasource.dynamic.strict=true
|
||||||
|
|
Loading…
Reference in New Issue