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

kirs pushed a commit to branch 2.0.1-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/2.0.1-prepare by this push:
     new 1e0757b  Change default database from mysql to pg (#7190)
1e0757b is described below

commit 1e0757bd8e72d7cf73e3b42c496ee6b03a302408
Author: Jiajie Zhong <[email protected]>
AuthorDate: Sun Dec 5 18:17:23 2021 +0800

    Change default database from mysql to pg (#7190)
---
 .../src/main/resources/config/install_config.conf                  | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git 
a/dolphinscheduler-server/src/main/resources/config/install_config.conf 
b/dolphinscheduler-server/src/main/resources/config/install_config.conf
index b21c3f3..779036e 100755
--- a/dolphinscheduler-server/src/main/resources/config/install_config.conf
+++ b/dolphinscheduler-server/src/main/resources/config/install_config.conf
@@ -76,10 +76,11 @@ apiServerPort="12345"
 # ---------------------------------------------------------
 # The type for the metadata database
 # Supported values: ``postgresql``, ``mysql``.
-DATABASE_TYPE="mysql"
+DATABASE_TYPE="postgresql"
 
-# Spring datasource url, following <HOST>:<PORT>/<database>?<parameter> format
-SPRING_DATASOURCE_URL="jdbc:mysql://127.0.0.1:3306/dolphinscheduler?useUnicode=true&characterEncoding=UTF-8"
+# 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="jdbc:postgresql://127.0.0.1:5432/dolphinscheduler"
 
 # Spring datasource username
 SPRING_DATASOURCE_USERNAME="ds_user"

Reply via email to