diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index afa7b24..8254f9f 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -22,10 +22,11 @@ spring: max-idle: 500 min-idle: 0 datasource: - 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: