SpringBoot下application配置文件连接mysql8.0
配置文件
# 数据库配置
spring.datasource.driverClassName = com.mysql.cj.jdbc.Driver
spring.datasource.url = jdbc:mysql://localhost:3306/test?characterEncoding=utf-8&serverTimezone=UTC&useSSL=false
spring.datasource.username = root
spring.datasource.password
原创
2020-07-02 17:25:46 ·
1835 阅读 ·
0 评论