其他分享
首页 > 其他分享> > application.yml常用配置

application.yml常用配置

作者:互联网

server:
  port: 8080
  servlet:
    context-path: /

spring:
  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://localhost:3306/flog?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
    username: root
    password: root

mybatis:
  mapper-locations: classpath:mapping/*.xml
  type-aliases-package: cn.felixfang.flog.entity

 

标签:cj,常用,jdbc,true,flog,application,mysql,root,yml
来源: https://www.cnblogs.com/jackfh/p/15671200.html