spring:
  application:
    name: lesson046
  datasource:
    driver-class-name: com.mysql.cj.jdbc.Driver
    url: jdbc:mysql://localhost:3306/luren?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
    username: root
    password: root123
  sql:
    init:
      # always：应用每次启动都执行，never：禁用
      mode: always
      # 数据库 ddl 脚本位置
      schema-locations: classpath:db/schema.sql
      # 数据库 dml 脚本位置
      data-locations: classpath:db/data.sql



logging:
  level:
    org:
      springframework:
        boot:
          sql: debug
