| | |
| | | spring.boot.admin.client: |
| | | # 增加客户端开关 |
| | | enabled: true |
| | | url: http://localhost:9090 |
| | | url: http://localhost:9090/admin |
| | | instance: |
| | | service-host-type: IP |
| | | metadata: |
| | |
| | | url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true |
| | | username: root |
| | | password: root |
| | | # 从库数据源 |
| | | slave: |
| | | lazy: true |
| | | type: ${spring.datasource.type} |
| | | driverClassName: com.mysql.cj.jdbc.Driver |
| | | url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true |
| | | username: |
| | | password: |
| | | # # 从库数据源 |
| | | # slave: |
| | | # lazy: true |
| | | # type: ${spring.datasource.type} |
| | | # driverClassName: com.mysql.cj.jdbc.Driver |
| | | # url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&autoReconnect=true&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true |
| | | # username: |
| | | # password: |
| | | # oracle: |
| | | # type: ${spring.datasource.type} |
| | | # driverClassName: oracle.jdbc.OracleDriver |