You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by li...@apache.org on 2022/06/18 13:53:43 UTC

[dolphinscheduler] 06/16: [Bug][Tools] Add datasource url for mysql profile in tools application.yaml (#10399)

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

liudongkai pushed a commit to branch 3.0.0-beta-2-prepare
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git

commit ed02db213e26786cc7bd21f4bb853df8ea835b1b
Author: Eric Gao <er...@gmail.com>
AuthorDate: Tue Jun 14 20:20:54 2022 +0800

    [Bug][Tools] Add datasource url for mysql profile in tools application.yaml (#10399)
    
    (cherry picked from commit 42d4aba347ce0b92152a8c4b025d8699c0e5d256)
---
 dolphinscheduler-tools/src/main/resources/application.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dolphinscheduler-tools/src/main/resources/application.yaml b/dolphinscheduler-tools/src/main/resources/application.yaml
index 8d36a365f4..84a89097d8 100644
--- a/dolphinscheduler-tools/src/main/resources/application.yaml
+++ b/dolphinscheduler-tools/src/main/resources/application.yaml
@@ -43,6 +43,7 @@ spring:
       on-profile: mysql
   datasource:
     driver-class-name: com.mysql.cj.jdbc.Driver
+    url: jdbc:mysql://127.0.0.1:3306/dolphinscheduler?useUnicode=true&characterEncoding=UTF-8
 
 ---
 spring: