lex.mybatis-flex-spring-boot-test.1.10.2.source-code.application.yml Maven / Gradle / Ivy
# 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
© 2015 - 2025 Weber Informatics LLC | Privacy Policy