This is an automated email from the ASF dual-hosted git repository.

caishunfeng pushed a commit to branch 2.0.2-release
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/2.0.2-release by this push:
     new 4d52553  Remove init script when gaining a new DB connection (#7748)
4d52553 is described below

commit 4d525536f68e2068564d4779d8f7ef3889a011b2
Author: kezhenxu94 <[email protected]>
AuthorDate: Fri Dec 31 12:03:46 2021 +0800

    Remove init script when gaining a new DB connection (#7748)
---
 dolphinscheduler-server/src/main/resources/config/install_config.conf | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dolphinscheduler-server/src/main/resources/config/install_config.conf 
b/dolphinscheduler-server/src/main/resources/config/install_config.conf
index b3ed2ab..3f2553e 100755
--- a/dolphinscheduler-server/src/main/resources/config/install_config.conf
+++ b/dolphinscheduler-server/src/main/resources/config/install_config.conf
@@ -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"}

Reply via email to