Bladeren bron

数据库修改

yumeng 4 maanden geleden
bovenliggende
commit
9a041650a7

+ 1 - 1
module-job-bytedance/src/main/resources/application-prod.yml

@@ -47,7 +47,7 @@ spring:
   autoconfigure:
     exclude: com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
   datasource:
-    url: jdbc:mysql://172.30.0.36:3390/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false
+    url: jdbc:mysql://172.30.0.36:3390/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&sql_mode=only_full_group_by
     username: hcst
     password: hcst@2025
     driver-class-name: com.mysql.jdbc.Driver

+ 1 - 1
module-job-kuaishou/src/main/resources/application-prod.yml

@@ -86,7 +86,7 @@ spring:
         connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
       datasource:
         master:
-          url: jdbc:mysql://172.30.0.36:3390/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false
+          url: jdbc:mysql://172.30.0.36:3390/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&sql_mode=only_full_group_by
           username: hcst
           password: hcst@2025
           driver-class-name: com.mysql.jdbc.Driver