diff --git a/dockerfile/conf/dolphinscheduler/conf/application.properties b/dockerfile/conf/dolphinscheduler/conf/application.properties index e0add25652..04eb130fad 100644 --- a/dockerfile/conf/dolphinscheduler/conf/application.properties +++ b/dockerfile/conf/dolphinscheduler/conf/application.properties @@ -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 diff --git a/dolphinscheduler-dao/src/main/resources/application.properties b/dolphinscheduler-dao/src/main/resources/application.properties index 10a92ebe07..37d67d47a5 100644 --- a/dolphinscheduler-dao/src/main/resources/application.properties +++ b/dolphinscheduler-dao/src/main/resources/application.properties @@ -2,12 +2,12 @@ spring.datasource.type=com.alibaba.druid.pool.DruidDataSource # postgre #spring.datasource.driver-class-name=org.postgresql.Driver -#spring.datasource.url=jdbc:postgresql://192.168.220.154:5432/dolphinscheduler +#spring.datasource.url=jdbc:postgresql://192.168.xx.xx:5432/dolphinscheduler # mysql spring.datasource.driver-class-name=com.mysql.jdbc.Driver -spring.datasource.url=jdbc:mysql://192.168.220.188:3306/dolphinscheduler?useUnicode=true&characterEncoding=UTF-8 -spring.datasource.username=root -spring.datasource.password=root@123 +spring.datasource.url=jdbc:mysql://192.168.xx.xx:3306/dolphinscheduler?useUnicode=true&characterEncoding=UTF-8 +spring.datasource.username=xx +spring.datasource.password=xx # connection configuration spring.datasource.initialSize=5 diff --git a/install.sh b/install.sh index 4477cf4926..afe822a8bb 100644 --- a/install.sh +++ b/install.sh @@ -403,7 +403,6 @@ sed -i ${txt} "s#enterprise.wechat.corp.id.*#enterprise.wechat.corp.id=${enterpr sed -i ${txt} "s#enterprise.wechat.secret.*#enterprise.wechat.secret=${enterpriseWechatSecret}#g" conf/alert.properties sed -i ${txt} "s#enterprise.wechat.agent.id.*#enterprise.wechat.agent.id=${enterpriseWechatAgentId}#g" conf/alert.properties sed -i ${txt} "s#enterprise.wechat.users.*#enterprise.wechat.users=${enterpriseWechatUsers}#g" conf/alert.properties -sed -i ${txt} "s#server.port.*#server.port=${alertPort}#g" conf/application-alert.properties