This page looks best with JavaScript enabled

Mybatis日志开启yml设置

 ·  ☕ 1 min read
     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    
    spring:
      datasource:
        url: jdbc:mysql://localhost:3306/couurse?serverTimezone=UTC
        driver-class-name: com.mysql.jdbc.Driver
        username: course
        password: root
      redis:
        host: 127.0.0.1
        port: 6379
    #    password: "test123"
    
    mybatis:
      type-aliases-package: com.course.system.domain
      configuration:
        log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
      mapper-locations: classpath:/mapper/**/*.xml
    
    Support the author with
    alipay QR Code
    wechat QR Code