Commit 766ccbf96224b8c2dccff6b61ee5437fb7b7b889
Committed by
Gitee
!168 fixed: 在特定情况下,flowable数据库表自动创建不了,导致无法启动
Merge pull request !168 from hezhenhui/#I57A80
Showing
2 changed files
with
4 additions
and
4 deletions
yudao-server/src/main/resources/application-dev.yaml
| ... | ... | @@ -44,13 +44,13 @@ spring: |
| 44 | 44 | datasource: |
| 45 | 45 | master: |
| 46 | 46 | name: ruoyi-vue-pro |
| 47 | - url: jdbc:mysql://400-infra.server.iocoder.cn:3306/${spring.datasource.dynamic.datasource.master.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT | |
| 47 | + url: jdbc:mysql://400-infra.server.iocoder.cn:3306/${spring.datasource.dynamic.datasource.master.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT&nullCatalogMeansCurrent=true | |
| 48 | 48 | driver-class-name: com.mysql.jdbc.Driver |
| 49 | 49 | username: root |
| 50 | 50 | password: 3WLiVUBEwTbvAfsh |
| 51 | 51 | slave: # 模拟从库,可根据自己需要修改 # 模拟从库,可根据自己需要修改 |
| 52 | 52 | name: ruoyi-vue-pro |
| 53 | - url: jdbc:mysql://400-infra.server.iocoder.cn:3306/${spring.datasource.dynamic.datasource.slave.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT | |
| 53 | + url: jdbc:mysql://400-infra.server.iocoder.cn:3306/${spring.datasource.dynamic.datasource.slave.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT&nullCatalogMeansCurrent=true | |
| 54 | 54 | driver-class-name: com.mysql.jdbc.Driver |
| 55 | 55 | username: root |
| 56 | 56 | password: 3WLiVUBEwTbvAfsh | ... | ... |
yudao-server/src/main/resources/application-local.yaml
| ... | ... | @@ -44,7 +44,7 @@ spring: |
| 44 | 44 | datasource: |
| 45 | 45 | master: |
| 46 | 46 | name: ruoyi-vue-pro |
| 47 | - url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.dynamic.datasource.master.name}?allowMultiQueries=true&useUnicode=true&useSSL=false&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&autoReconnect=true # MySQL Connector/J 8.X 连接的示例 | |
| 47 | + url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.dynamic.datasource.master.name}?allowMultiQueries=true&useUnicode=true&useSSL=false&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&autoReconnect=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例 | |
| 48 | 48 | # url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.dynamic.datasource.master.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT # MySQL Connector/J 5.X 连接的示例 |
| 49 | 49 | # url: jdbc:postgresql://127.0.0.1:5432/${spring.datasource.dynamic.datasource.slave.name} # PostgreSQL 连接的示例 |
| 50 | 50 | # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例 |
| ... | ... | @@ -55,7 +55,7 @@ spring: |
| 55 | 55 | # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W |
| 56 | 56 | slave: # 模拟从库,可根据自己需要修改 |
| 57 | 57 | name: ruoyi-vue-pro |
| 58 | - url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.dynamic.datasource.slave.name}?allowMultiQueries=true&useUnicode=true&useSSL=false&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&autoReconnect=true # MySQL Connector/J 8.X 连接的示例 | |
| 58 | + url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.dynamic.datasource.slave.name}?allowMultiQueries=true&useUnicode=true&useSSL=false&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&autoReconnect=true&nullCatalogMeansCurrent=true # MySQL Connector/J 8.X 连接的示例 | |
| 59 | 59 | # url: jdbc:mysql://127.0.0.1:3306/${spring.datasource.dynamic.datasource.slave.name}?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=CTT # MySQL Connector/J 5.X 连接的示例 |
| 60 | 60 | # url: jdbc:postgresql://127.0.0.1:5432/${spring.datasource.dynamic.datasource.slave.name} # PostgreSQL 连接的示例 |
| 61 | 61 | # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例 | ... | ... |