mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 09:08:24 +08:00
49 lines
1.1 KiB
YAML
49 lines
1.1 KiB
YAML
# DataSource Config
|
|
spring:
|
|
# h2:
|
|
# console:
|
|
# enabled: true
|
|
datasource:
|
|
# driver-class-name: com.mysql.cj.jdbc.Driver
|
|
url: jdbc:mysql://localhost:3306/flex_test
|
|
username: root
|
|
password: 12345678
|
|
# driver-class-name:
|
|
# datasource:
|
|
# driver-class-name: org.h2.Driver
|
|
# username: root
|
|
# password: test
|
|
# sql:
|
|
# init:
|
|
# schema-locations: classpath:schema.sql
|
|
# data-locations: classpath:data.sql
|
|
#mybatis-flex:
|
|
# admin-config:
|
|
# enable: true
|
|
# endpoint: http://localhost/admin
|
|
# secret-key: secretKey
|
|
# mapper-locations:
|
|
# - classpath*:/mapper/*.xml
|
|
# global-config:
|
|
# print-banner: false
|
|
# key-config:
|
|
# key-type: generator
|
|
# value: uuid
|
|
# configuration:
|
|
# use-generated-keys: true
|
|
# datasource:
|
|
# data-center:
|
|
# url: jdbc:mysql://localhost:3306/flex_test
|
|
# username: root
|
|
# password: 12345678
|
|
#mybatis-flex:
|
|
# datasource:
|
|
# ds1:
|
|
# url: jdbc:mysql://127.0.0.1:3306/flex_test
|
|
# username: root
|
|
# password: 123456
|
|
# ds2:
|
|
# url: jdbc:mysql://127.0.0.1:3306/flex_test
|
|
# username: root
|
|
# password: 123456
|