| | |
| | | # 主库数据源 |
| | | master: |
| | | type: ${spring.datasource.type} |
| | | driverClassName: com.mysql.cj.jdbc.Driver |
| | | url: jdbc:mysql://127.0.0.1:3306/ruoyi-ai?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true |
| | | username: ruoyi-ai |
| | | password: ruoyi-ai |
| | | driverClassName: dm.jdbc.driver.DmDriver |
| | | url: jdbc:dm://192.168.3.116:5236/SCHOOL_AI?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true |
| | | username: SCHOOL_AI |
| | | password: Yykj123456 |
| | | |
| | | hikari: |
| | | # 最大连接池数量 |
| | |
| | | connectionTestQuery: SELECT 1 |
| | | # 多久检查一次连接的活性 |
| | | keepaliveTime: 30000 |
| | | jpa: |
| | | database-platform: org.hibernate.dialect.DmDialect |
| | | show-sql: true |
| | | hibernate: |
| | | ddl-auto: none |
| | | format_sql: true |
| | | temp: |
| | | use_jdbc_metadata_defaults: false |
| | | |
| | | |
| | | --- # redis 单机配置(单机与集群只能开启一个另一个需要注释掉) |
| | | spring.data: |