diff --git a/src/main/resources/application-config.yml b/src/main/resources/application-config.yml index 0e03735..90a2531 100644 --- a/src/main/resources/application-config.yml +++ b/src/main/resources/application-config.yml @@ -27,13 +27,6 @@ spring: # # 默认 /h2-console # path: /h2 datasource: - driver-class-name: com.mysql.cj.jdbc.Driver -# url: jdbc:mysql://127.0.0.1:3306/smallapp_point?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT%2b8&useAffectedRows=true&useSSL=false -# username: root -# password: hyty1234 - url: jdbc:mysql://127.0.0.1:3306/quinn?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT%2b8&useAffectedRows=true&useSSL=false - username: root - password: 123456 type: com.zaxxer.hikari.HikariDataSource hikari: minimum-idle: 5 diff --git a/src/main/resources/application-prod.yml b/src/main/resources/application-prod.yml index f3c1784..1baa397 100644 --- a/src/main/resources/application-prod.yml +++ b/src/main/resources/application-prod.yml @@ -1,3 +1,9 @@ logging: level: com.itplh.hero: trace +spring: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://127.0.0.1:3306/smallapp_point?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT%2b8&useAffectedRows=true&useSSL=false + username: root + password: hyty1234 diff --git a/src/main/resources/application-test.yml b/src/main/resources/application-test.yml index f3c1784..ea09394 100644 --- a/src/main/resources/application-test.yml +++ b/src/main/resources/application-test.yml @@ -1,3 +1,9 @@ logging: level: com.itplh.hero: trace +spring: + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://127.0.0.1:3306/quinn?useUnicode=true&characterEncoding=utf-8&autoReconnect=true&zeroDateTimeBehavior=convertToNull&serverTimezone=GMT%2b8&useAffectedRows=true&useSSL=false + username: root + password: 123456