Ver Fonte

local.yaml文件修改

GouGengquan há 1 ano atrás
pai
commit
967560a294
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      biz-base/src/main/resources/application-local.yml

+ 2 - 0
biz-base/src/main/resources/application-local.yml

@@ -8,6 +8,7 @@ spring:
       datasource:
         mbs:
           url: jdbc:mysql://localhost:3306/item-management?autoReconnect=true&useUnicode=true&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true
+          driver-class-name: com.mysql.cj.jdbc.Driver
           username: root
           password: 914851221
           initialSize: 10 #初始化连接数D
@@ -21,6 +22,7 @@ spring:
             idle-timeout: 600000
             max-lifetime: 1800000
         dyoa:
+          url: jdbc:mysql://localhost:3306/dyoa?autoReconnect=true&useUnicode=true&zeroDateTimeBehavior=CONVERT_TO_NULL&useSSL=false&serverTimezone=Asia/Shanghai&allowMultiQueries=true&characterEncoding=UTF-8&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true
           driver-class-name: com.mysql.cj.jdbc.Driver
           username: root
           password: 914851221