springboot连接数据库配置

为了copy

spring.datasource.username=rabbit
spring.datasource.password=860820
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://192.168.0.160:3306/yy?serverTimezone=GMT&characterEncoding=utf-8

characterEncoding=utf-8不加中文全是?号

©️2020 CSDN 皮肤主题: 数字20 设计师:CSDN官方博客 返回首页