|
@@ -1,6 +1,6 @@
|
|
|
# base spring data source configuration
|
|
|
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
|
|
|
-# postgre
|
|
|
+# postgresql
|
|
|
spring.datasource.driver-class-name=org.postgresql.Driver
|
|
|
spring.datasource.url=jdbc:postgresql://127.0.0.1:5432/dolphinscheduler
|
|
|
spring.datasource.username=root
|
|
@@ -27,7 +27,7 @@ spring.datasource.timeBetweenConnectErrorMillis=60000
|
|
|
spring.datasource.minEvictableIdleTimeMillis=300000
|
|
|
|
|
|
#the SQL used to check whether the connection is valid requires a query statement. If validation Query is null, testOnBorrow, testOnReturn, and testWhileIdle will not work.
|
|
|
-spring.datasource.validationQuery=SELECT 1
|
|
|
+spring.datasource.validationQuery=SELECT 1 FROM DUAL
|
|
|
|
|
|
#check whether the connection is valid for timeout, in seconds
|
|
|
spring.datasource.validationQueryTimeout=3
|
|
@@ -78,9 +78,9 @@ mybatis-plus.configuration.jdbc-type-for-null=null
|
|
|
# data quality analysis is not currently in use. please ignore the following configuration
|
|
|
# task record flag
|
|
|
task.record.flag=false
|
|
|
-task.record.datasource.url=jdbc:postgresql://127.0.0.1:5432/dolphinscheduler
|
|
|
-task.record.datasource.username=root
|
|
|
-task.record.datasource.password=root@123
|
|
|
+task.record.datasource.url=jdbc:mysql://192.168.xx.xx:3306/etl?characterEncoding=UTF-8
|
|
|
+task.record.datasource.username=xx
|
|
|
+task.record.datasource.password=xx
|
|
|
|
|
|
# Logger Config
|
|
|
-logging.level.org.apache.dolphinscheduler.dao=debug
|
|
|
+#logging.level.org.apache.dolphinscheduler.dao=debug
|