EricGao888 commented on code in PR #9659:
URL: https://github.com/apache/dolphinscheduler/pull/9659#discussion_r856058525


##########
docs/docs/zh/guide/upgrade.md:
##########
@@ -13,24 +13,17 @@
 - 以下升级操作都需要在新版本的目录进行
 
 ## 4. 数据库升级
-- 修改conf/datasource.properties中的下列属性
-
-- 如果选择 MySQL,请注释掉 PostgreSQL 相关配置(反之同理), 还需要手动添加 [[ mysql-connector-java 驱动 
jar ](https://downloads.MySQL.com/archives/c-j/)] 包到 lib 
目录下,这里下载的是mysql-connector-java-8.0.16.jar,然后正确配置数据库连接相关信息
-
-    ```properties
-      # postgre
-      #spring.datasource.driver-class-name=org.postgresql.Driver
-      #spring.datasource.url=jdbc:postgresql://localhost:5432/dolphinscheduler
-      # mysql
-      spring.datasource.driver-class-name=com.mysql.jdbc.Driver
-      
spring.datasource.url=jdbc:mysql://xxx:3306/dolphinscheduler?useUnicode=true&characterEncoding=UTF-8&allowMultiQueries=true
     需要修改ip,本机localhost即可
-      spring.datasource.username=xxx                                           
需要修改为上面的{user}值
-      spring.datasource.password=xxx                                           
需要修改为上面的{password}值
+- 将`./tools/conf/application.yaml`中的username和password改成你设定数据库用户名和密码

Review Comment:
   I think I've already updated the English version? 
   
![image](https://user-images.githubusercontent.com/34905992/164687186-2d72a12d-feb6-4c38-8bac-493e1be283e2.png)
   



-- 
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