在resource包下创建application.yml
spring:
datasource:
# 数据源基本配置
username: root
password: jxq016255
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/jdbc?useUnicode=true&characterEncoding=utf8
在resource包下创建application.yml
spring:
datasource:
# 数据源基本配置
username: root
password: jxq016255
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/jdbc?useUnicode=true&characterEncoding=utf8