Application.yml和application. properties配置的差别
yml文件结尾时,写出的配置应该如下,区分sever、spring、mybatis代码:server:port: 8080spring:datasource:name: testdriver-class-name: com.mysql.cj.jdbc.Driverurl: jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=UTF-8&serverTimezone=GMT%2B8usern
原创
2022-01-05 09:20:03 ·
501 阅读 ·
0 评论