#端口服务
server:
port: 8001
spring:
#服务名
application:
name: service-edu
#环境设置:dev、test、prod
profiles:
active: dev
#数据源
datasource:
driver-class-name: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://localhost:3306/guli?serverTimezone=GMT%2B8&useSSL=false&characterEncoding=UTF-8
username: root
password: 12345678
jackson:
date-format: yyyy-MM-dd HH:mm:ss
time-zone: GMT+8
#mybatis日志
mybatis-plus:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
标签:常用,jdbc,name,配置,dev,mysql,mybatis,yml
From: https://www.cnblogs.com/blog-zyx/p/16904151.html