瀏覽代碼

配置修改

wanxl 1 年之前
父節點
當前提交
b2d2e3e910
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/resources/application-prod.yml

+ 1 - 1
src/main/resources/application-prod.yml

@@ -3,7 +3,7 @@ spring:
         type: com.alibaba.druid.pool.DruidDataSource
         druid:
             driver-class-name: com.mysql.cj.jdbc.Driver
-            url: jdbc:mysql://172.16.20.103:3306/tcwm2.5?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=CTT
+            url: jdbc:mysql://172.16.20.103:3306/tcwm2.5?useUnicode=true&characterEncoding=utf-8&useSSL=false&rewriteBatchedStatements=true&serverTimezone=CTT
             username: root
             password: ch@2025.wm
             initial-size: 10