springboot项目yml文件数据源配置

#数据源配置
spring:
  datasource:
    url: jdbc:mysql://ip:3306/f_user?useUnicode=true&characterEncoding=utf8
    driver-class-name: com.mysql.cj.jdbc.Driver
    username: root
    password: root
#mybatis配置
mybatis:
  mapper-locations: classpath:mapper/**/*.xml
# mybatis  日志sql信息输出
logging:
  level:
    com.bat.grant.dao: debug

 

上一篇:三天学会网络爬虫之Day02


下一篇:用PVN3D训练自制LINEMOD数据集过程记录