SpringBoot启动读取执行sql文件

spring: 
  datasource:
    #type: com.zaxxer.hikari.HikariDataSource  
    type: com.alibaba.druid.pool.DruidDataSource   #这里是配置druid连接池,以下都是druid的配置信息
    url: jdbc:mysql://127.0.0.1:3306/quartz?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=UTC
    driver-class-name: com.mysql.jdbc.Driver
    username: root
    password: 581969
    initialization-mode: always
    schema: 
        - classpath:quartz.sql
  quartz:

相关推荐
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页