| | |
| | | p6spy: true |
| | | # 设置默认的数据源或者数据源组,默认值即为 master |
| | | primary: master |
| | | # 严格模式 匹配不到数据源则报错 |
| | | strict: true |
| | | datasource: |
| | | # 主库数据源 |
| | | master: |
| | |
| | | # password: root |
| | | # druid: |
| | | # validationQuery: SELECT 1 FROM DUAL |
| | | # postgres: |
| | | # driverClassName: org.postgresql.Driver |
| | | # url: jdbc:postgresql://localhost:5432/postgres?useUnicode=true&characterEncoding=utf8&useSSL=true&autoReconnect=true&reWriteBatchedInserts=true |
| | | # username: root |
| | | # password: root |
| | | # sqlserver: |
| | | # driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver |
| | | # url: jdbc:sqlserver://localhost:1433;DatabaseName=tempdb;SelectMethod=cursor;rewriteBatchedStatements=true |
| | | # username: SA |
| | | # password: root |
| | | druid: |
| | | # 初始连接数 |
| | | initialSize: 5 |