liqingwang commented on code in PR #10128:
URL: https://github.com/apache/dolphinscheduler/pull/10128#discussion_r880070411


##########
dolphinscheduler-worker/src/main/resources/application.yaml:
##########
@@ -89,3 +89,13 @@ management:
 
 metrics:
   enabled: true
+
+# Override by profile
+
+---
+spring:
+  config:
+    activate:
+      on-profile: mysql
+  datasource:
+    driver-class-name: com.mysql.jdbc.Driver

Review Comment:
   Don't need, it because the other YAML file's default is PostgreSQL. Only the 
tools module needs to define Mysql && PostgreSQL part. Due 
[this](https://github.com/apache/dolphinscheduler/pull/9997/files#diff-eed87c5c23a714652182ddde16029973958176002fea3b59fb8ec4d359a33893R28)
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to