From 862b32ec63e3728ce91c9dcf855358ee20f82f66 Mon Sep 17 00:00:00 2001 From: openopen2 Date: Wed, 10 May 2023 13:44:23 +0800 Subject: [PATCH] [Doc] Fix upgrade-schema.sh cannot load driver class (#14072) * fix upgrade-schema.sh cannot load driver class When initializing and creating related tables for the first time, the support of related jdbc drivers is required. This article omits placing jdbc drivers in the tools directory. * Update datasource-setting.md update english doc --- docs/docs/en/guide/howto/datasource-setting.md | 2 +- docs/docs/zh/guide/howto/datasource-setting.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/en/guide/howto/datasource-setting.md b/docs/docs/en/guide/howto/datasource-setting.md index 5fc4e4be09..95a34f767c 100644 --- a/docs/docs/en/guide/howto/datasource-setting.md +++ b/docs/docs/en/guide/howto/datasource-setting.md @@ -24,7 +24,7 @@ export SPRING_DATASOURCE_PASSWORD={password} DolphinScheduler stores metadata in `relational database`. Currently, we support `PostgreSQL` and `MySQL`. Let's walk through how to initialize the database in `MySQL` and `PostgreSQL` : -> If you use MySQL, you need to manually download [mysql-connector-java driver][mysql] (8.0.16) and move it to the libs directory of DolphinScheduler which is `api-server/libs` and `alert-server/libs` and `master-server/libs` and `worker-server/libs`. +> If you use MySQL, you need to manually download [mysql-connector-java driver][mysql] (8.0.16) and move it to the libs directory of DolphinScheduler which is `api-server/libs` and `alert-server/libs` and `master-server/libs` and `worker-server/libs` and `tools/libs`. For mysql 5.6 / 5.7 diff --git a/docs/docs/zh/guide/howto/datasource-setting.md b/docs/docs/zh/guide/howto/datasource-setting.md index ce8f199ada..1866e44ba2 100644 --- a/docs/docs/zh/guide/howto/datasource-setting.md +++ b/docs/docs/zh/guide/howto/datasource-setting.md @@ -23,7 +23,7 @@ export SPRING_DATASOURCE_PASSWORD={password} DolphinScheduler 元数据存储在关系型数据库中,目前支持 PostgreSQL 和 MySQL。下面分别介绍如何使用 MySQL 和 PostgresQL 初始化数据库。 -> 如果使用 MySQL 需要手动下载 [mysql-connector-java 驱动][mysql] (8.0.16) 并移动到 DolphinScheduler 的每个模块的 libs 目录下,其中包括 `api-server/libs` 和 `alert-server/libs` 和 `master-server/libs` 和 `worker-server/libs`。 +> 如果使用 MySQL 需要手动下载 [mysql-connector-java 驱动][mysql] (8.0.16) 并移动到 DolphinScheduler 的每个模块的 libs 目录下,其中包括 `api-server/libs` 和 `alert-server/libs` 和 `master-server/libs` 和 `worker-server/libs` 和 `tools/libs`。 对于mysql 5.6 / 5.7: