添加rewriteBatchedStatements=true提高批量操作数据库效率

This commit is contained in:
handy
2023-05-12 11:16:17 +08:00
parent 2c80f3a894
commit f70a863b62

View File

@@ -17,7 +17,7 @@ zyplayer:
# 管理端的数据库配置
datasource:
driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://127.0.0.1:3306/zyplayer_doc?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false
url: jdbc:mysql://127.0.0.1:3306/zyplayer_doc?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&useSSL=false&rewriteBatchedStatements=true
username: root
password: root
# ------WIKI文档相关------