Following: https://www.flowable.org/docs/userguide/index.html#springSpringBoot with the embedded H2 database everything works fine. But when I replace H2 with mysql, at start up I get: java.sql.SQLSyntaxErrorException: Table ‘flowable.act_ge_property’ doesn’t exist.
When I look at the flowable database in MySql, I see that no tables have been created.
build.gradle:
plugins {
id ‘org.springframework.boot’ version ‘2.1.3.RELEASE’
id ‘java’
}
apply plugin: ‘io.spring.dependency-management’
group = ‘com.pgi’
version = ‘0.0.1-SNAPSHOT’
sourceCompatibility = ‘1.8’
repositories {
mavenCentral()
}
configurations.all {
exclude module: ‘log4j-slf4j-impl’
}
dependencies {
implementation ‘org.springframework.boot:spring-boot-starter-actuator’
implementation ‘org.springframework.boot:spring-boot-starter-data-jpa’
implementation ‘org.springframework.boot:spring-boot-starter-security’
implementation ‘org.springframework.boot:spring-boot-starter-web’
runtimeOnly ‘org.springframework.boot:spring-boot-devtools’
implementation ‘org.flowable:flowable-spring-boot-starter:6.4.1’
implementation ‘mysql:mysql-connector-java’
testImplementation ‘org.springframework.boot:spring-boot-starter-test’
}
application.properties:
server.port=8080
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/flowable?characterEncoding=UTF-8&serverTimezone=UTC
spring.datasource.username=flowable
spring.datasource.password=flowable