49 lines
2.3 KiB
YAML
49 lines
2.3 KiB
YAML
|
|
spring:
|
||
|
|
# 数据源配置
|
||
|
|
# ===================== MySQL数据库-Start =====================
|
||
|
|
datasource:
|
||
|
|
url: jdbc:mysql://127.0.0.1:3306/yunzhupaas_xxljob?useUnicode=true&characterEncoding=utf-8&allowMultiQueries=true&serverTimezone=GMT%2B8&useSSL=false
|
||
|
|
username: root
|
||
|
|
password: 123456
|
||
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
||
|
|
# ===================== MySQL数据库-Start =====================
|
||
|
|
# ===================== SQLServer数据库-Start =====================
|
||
|
|
# datasource:
|
||
|
|
# url: jdbc:sqlserver://127.0.0.1:1433;SelectMethod=cursor;Databasename=yunzhupaas_xxljob
|
||
|
|
# username: sa
|
||
|
|
# password: 123456
|
||
|
|
# driver-class-name: com.microsoft.sqlserver.jdbc.SQLServerDriver
|
||
|
|
# ===================== SQLServer数据库-End =====================
|
||
|
|
# ===================== Oracle数据库-Start =====================
|
||
|
|
# datasource:
|
||
|
|
# url: jdbc:oracle:thin:@127.0.0.1:1521:orcl
|
||
|
|
# username: YUNZHUPAAS_XXLJOB
|
||
|
|
# password: dbpasswd
|
||
|
|
# driver-class-name: oracle.jdbc.OracleDriver
|
||
|
|
# ===================== Oracle数据库-End =====================
|
||
|
|
# ===================== PostgreSQL数据库-Start =====================
|
||
|
|
# datasource:
|
||
|
|
# url: jdbc:postgresql://127.0.0.1:5432/yunzhupaas_xxljob
|
||
|
|
# username: dbuser
|
||
|
|
# password: dbpasswd
|
||
|
|
# driver-class-name: org.postgresql.Driver
|
||
|
|
# ===================== PostgreSQL数据库-End =====================
|
||
|
|
# ===================== 达梦dm8数据库-Start =====================
|
||
|
|
# datasource:
|
||
|
|
# url: jdbc:dm://127.0.0.1:5236/YUNZHUPAAS_XXLJOB?yunzhupaasDateTimeBehavior=convertToNull&useUnicode=true&characterEncoding=utf-8
|
||
|
|
# username: dbuser
|
||
|
|
# password: dbpasswd
|
||
|
|
# driver-class-name: dm.jdbc.driver.DmDriver
|
||
|
|
# ===================== 达梦dm8数据库-End =====================
|
||
|
|
# ===================== 人大金仓KingbaseES数据库-Start =====================
|
||
|
|
# datasource:
|
||
|
|
# url: jdbc:kingbase8://127.0.0.1:54321/yunzhupaas_xxljob
|
||
|
|
# username: dbuser
|
||
|
|
# password: dbpasswd
|
||
|
|
# driver-class-name: com.kingbase8.Driver
|
||
|
|
# ===================== 人大金仓KingbaseES数据库-End =====================
|
||
|
|
|
||
|
|
mybatis-plus:
|
||
|
|
type-aliases-package: com.yunzhupaas.*.entity;com.xxl.job.admin.core.model
|
||
|
|
mapper-locations: classpath*:/mybatis-mapper/*Mapper.xml
|