From b4f547bdc13054afc12042e255954d1f96770ed7 Mon Sep 17 00:00:00 2001 From: caterpillar <58500946+zZ-10@users.noreply.github.com> Date: Thu, 24 Sep 2020 13:46:32 +0800 Subject: [PATCH 1/2] Update application.yml --- src/main/resources/application.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index afa7b24..ad864af 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -22,6 +22,7 @@ spring: max-idle: 500 min-idle: 0 datasource: + drud: url: jdbc:mysql://localhost:3306/vertical?characterEncoding=UTF-8&autoReconnect=true&useSSL=false username: root password: # 数据库密码 From 36842316bf803e6fd7bf2927d72e85af91f0f237 Mon Sep 17 00:00:00 2001 From: ronger Date: Thu, 24 Sep 2020 14:55:37 +0800 Subject: [PATCH 2/2] Update application.yml --- src/main/resources/application.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index ad864af..8254f9f 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -22,11 +22,11 @@ spring: max-idle: 500 min-idle: 0 datasource: - drud: - url: jdbc:mysql://localhost:3306/vertical?characterEncoding=UTF-8&autoReconnect=true&useSSL=false - username: root - password: # 数据库密码 - driver-class-name: com.mysql.cj.jdbc.Driver + druid: + url: jdbc:mysql://localhost:3306/vertical?characterEncoding=UTF-8&autoReconnect=true&useSSL=false + username: root + password: # 数据库密码 + driver-class-name: com.mysql.cj.jdbc.Driver resources: add-mappings: true mail: