You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by GitBox <gi...@apache.org> on 2022/05/25 05:50:23 UTC

[GitHub] [dolphinscheduler] liqingwang commented on a diff in pull request #10220: [Improvement]Change Mysql Driver

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


##########
dolphinscheduler-master/src/main/resources/application.yaml:
##########
@@ -135,8 +135,7 @@ spring:
     activate:
       on-profile: mysql
   datasource:
-    driver-class-name: com.mysql.jdbc.Driver
-    url: jdbc:mysql://127.0.0.1:3306/dolphinscheduler?useUnicode=true&characterEncoding=UTF-8

Review Comment:
   Activate profile only define the data source driver, and other fields, such as URL, username, and password we define at another place. You can see [this](https://github.com/apache/dolphinscheduler/issues/10103#issuecomment-1132669903) and [this](https://github.com/apache/dolphinscheduler/pull/10128/files)
   



-- 
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: commits-unsubscribe@dolphinscheduler.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org