Skip to content

Commit dd661e3

Browse files
committed
🐛 activiti 建表不自动创建history表的问题,修改jdbc连接串
1 parent 76afcf7 commit dd661e3

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed
Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
spring:
2-
activiti:
3-
check-process-definitions: false
4-
db-history-used: true
5-
history-level: full
2+
datasource:
3+
url: jdbc:mysql://localhost:3306/spring-boot-demo
4+
username: root
5+
password: root
6+
hikari:
7+
data-source-properties:
8+
useSSL: false
9+
serverTimezone: GMT+8
10+
useUnicode: true
11+
characterEncoding: utf8
12+
# 这个必须要加,否则 Activiti 自动建表会失败
13+
nullCatalogMeansCurrent: true

0 commit comments

Comments
 (0)