Skip to content

Commit 4d52553

Browse files
authored
Remove init script when gaining a new DB connection (#7748)
1 parent c4eab17 commit 4d52553

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dolphinscheduler-server/src/main/resources/config/install_config.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ DATABASE_TYPE=${DATABASE_TYPE:-"h2"}
8585

8686
# Spring datasource url, following <HOST>:<PORT>/<database>?<parameter> format, If you using mysql, you could use jdbc
8787
# string jdbc:mysql://127.0.0.1:3306/dolphinscheduler?useUnicode=true&characterEncoding=UTF-8 as example
88-
SPRING_DATASOURCE_URL=${SPRING_DATASOURCE_URL:-"jdbc:h2:mem:dolphinscheduler;MODE=MySQL;DB_CLOSE_DELAY=-1;DATABASE_TO_LOWER=true;INIT=runscript from 'classpath:sql/dolphinscheduler_h2.sql'"}
88+
SPRING_DATASOURCE_URL=${SPRING_DATASOURCE_URL:-"jdbc:h2:mem:dolphinscheduler;MODE=MySQL;DB_CLOSE_DELAY=-1;DATABASE_TO_LOWER=true"}
8989

9090
# Spring datasource username
9191
SPRING_DATASOURCE_USERNAME=${SPRING_DATASOURCE_USERNAME:-"sa"}

0 commit comments

Comments
 (0)