Browse Source

local.yaml文件修改

GouGengquan 1 year ago
parent
commit
967560a294
1 changed files with 2 additions and 0 deletions
  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