Remove init script when gaining a new DB connection (#7748)
This commit is contained in:
parent
c4eab17bd4
commit
4d525536f6
|
|
@ -85,7 +85,7 @@ DATABASE_TYPE=${DATABASE_TYPE:-"h2"}
|
|||
|
||||
# Spring datasource url, following <HOST>:<PORT>/<database>?<parameter> format, If you using mysql, you could use jdbc
|
||||
# string jdbc:mysql://127.0.0.1:3306/dolphinscheduler?useUnicode=true&characterEncoding=UTF-8 as example
|
||||
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'"}
|
||||
SPRING_DATASOURCE_URL=${SPRING_DATASOURCE_URL:-"jdbc:h2:mem:dolphinscheduler;MODE=MySQL;DB_CLOSE_DELAY=-1;DATABASE_TO_LOWER=true"}
|
||||
|
||||
# Spring datasource username
|
||||
SPRING_DATASOURCE_USERNAME=${SPRING_DATASOURCE_USERNAME:-"sa"}
|
||||
|
|
|
|||
Loading…
Reference in New Issue