Bläddra i källkod

设计绩效-修改数据库设置-test

yangzian 2 år sedan
förälder
incheckning
4dce0452ba

+ 11 - 4
jeecg-cloud-module/jeecg-cloud-system-start/src/main/resources/application-test.yml

@@ -116,10 +116,17 @@ spring:
         connectionProperties: druid.stat.mergeSql\=true;druid.stat.slowSqlMillis\=5000
       datasource:
         master:
-          url: jdbc:mysql://139.186.165.84:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false
-          username: hcst
-          password: hcst@2020
-          driver-class-name: com.mysql.jdbc.Driver
+#          url: jdbc:mysql://139.186.165.84:3306/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false
+#          username: hcst
+#          password: hcst@2020
+#          driver-class-name: com.mysql.jdbc.Driver
+
+          #---------------------线上库
+          url: jdbc:mysql://139.186.27.96:3390/jeecg-boot?characterEncoding=UTF-8&useUnicode=true&useSSL=false&tinyInt1isBit=false&allowPublicKeyRetrieval=true&serverTimezone=GMT%2B8
+          username: data
+          password: hcst@2021
+
+
   #redis 配置
   redis:
     database: 0