You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by du...@apache.org on 2024/04/15 04:41:50 UTC

(shardingsphere) branch master updated: Upgrade mysql-connector-j to 8.3.0 in doc and e2e (#30889)

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

duanzhengqiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new e2f7ce28c87 Upgrade mysql-connector-j to 8.3.0 in doc and e2e (#30889)
e2f7ce28c87 is described below

commit e2f7ce28c87d1498fada5eb3ad4a2f21bf481c68
Author: ZhangCheng <ch...@apache.org>
AuthorDate: Mon Apr 15 12:41:43 2024 +0800

    Upgrade mysql-connector-j to 8.3.0 in doc and e2e (#30889)
---
 .github/workflows/e2e-sql.yml                                       | 2 +-
 .github/workflows/nightly-e2e-sql.yml                               | 2 +-
 .../content/user-manual/shardingsphere-proxy/cdc/build.cn.md        | 6 +++---
 .../content/user-manual/shardingsphere-proxy/cdc/build.en.md        | 2 +-
 .../content/user-manual/shardingsphere-proxy/migration/build.cn.md  | 6 +++---
 .../content/user-manual/shardingsphere-proxy/migration/build.en.md  | 2 +-
 .../src/main/resources/template/pom.ftl                             | 2 +-
 7 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/.github/workflows/e2e-sql.yml b/.github/workflows/e2e-sql.yml
index 8ba49e74194..b32aed8a179 100644
--- a/.github/workflows/e2e-sql.yml
+++ b/.github/workflows/e2e-sql.yml
@@ -116,7 +116,7 @@ jobs:
           - adapter: proxy
             database: MySQL
             scenario: passthrough
-            additional-options: '-Dmysql-connector-java.version=8.0.31'
+            additional-options: '-Dmysql-connector-java.version=8.3.0'
         exclude:
           - adapter: jdbc
             scenario: passthrough
diff --git a/.github/workflows/nightly-e2e-sql.yml b/.github/workflows/nightly-e2e-sql.yml
index f6094955794..d0369a69c59 100644
--- a/.github/workflows/nightly-e2e-sql.yml
+++ b/.github/workflows/nightly-e2e-sql.yml
@@ -84,7 +84,7 @@ jobs:
           - adapter: proxy
             database: MySQL
             scenario: passthrough
-            additional-options: '-Dmysql-connector-java.version=8.0.31'
+            additional-options: '-Dmysql-connector-java.version=8.3.0'
         exclude:
           - adapter: jdbc
             scenario: passthrough
diff --git a/docs/document/content/user-manual/shardingsphere-proxy/cdc/build.cn.md b/docs/document/content/user-manual/shardingsphere-proxy/cdc/build.cn.md
index 2445d96cba7..c2193720e83 100644
--- a/docs/document/content/user-manual/shardingsphere-proxy/cdc/build.cn.md
+++ b/docs/document/content/user-manual/shardingsphere-proxy/cdc/build.cn.md
@@ -99,9 +99,9 @@ proxy 已包含 PostgreSQL JDBC 和 openGauss JDBC 驱动。
 
 如果后端连接以下数据库,请下载相应 JDBC 驱动 jar 包,并将其放入 `${shardingsphere-proxy}/ext-lib` 目录。
 
-| 数据库       | JDBC 驱动                                                                                                                         |
-|-----------|---------------------------------------------------------------------------------------------------------------------------------|
-| MySQL     | [mysql-connector-java-8.0.31.jar](https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.31/)                            |
+| 数据库       | JDBC 驱动                                                                                                                        |
+|-----------|--------------------------------------------------------------------------------------------------------------------------------|
+| MySQL     | [mysql-connector-j-8.3.0.jar](https://repo1.maven.org/maven2/com/mysql/mysql-connector-j/8.3.0/)                            |
 
 4. 启动 ShardingSphere-Proxy:
 
diff --git a/docs/document/content/user-manual/shardingsphere-proxy/cdc/build.en.md b/docs/document/content/user-manual/shardingsphere-proxy/cdc/build.en.md
index 7fc677c9651..ae1dce6e35c 100644
--- a/docs/document/content/user-manual/shardingsphere-proxy/cdc/build.en.md
+++ b/docs/document/content/user-manual/shardingsphere-proxy/cdc/build.en.md
@@ -100,7 +100,7 @@ If the backend is connected to the following databases, download the correspondi
 
 | Database | JDBC Driver                                                                                          |
 |----------|------------------------------------------------------------------------------------------------------|
-| MySQL    | [mysql-connector-java-8.0.31.jar](https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.31/) |
+| MySQL    | [mysql-connector-j-8.3.0.jar](https://repo1.maven.org/maven2/com/mysql/mysql-connector-j/8.3.0/) |
 
 4. Start ShardingSphere-Proxy:
 
diff --git a/docs/document/content/user-manual/shardingsphere-proxy/migration/build.cn.md b/docs/document/content/user-manual/shardingsphere-proxy/migration/build.cn.md
index 24cb7db9554..9ae5bdf552c 100644
--- a/docs/document/content/user-manual/shardingsphere-proxy/migration/build.cn.md
+++ b/docs/document/content/user-manual/shardingsphere-proxy/migration/build.cn.md
@@ -41,9 +41,9 @@ proxy 已包含 PostgreSQL JDBC 和 openGauss JDBC 驱动。
 
 如果后端连接以下数据库,请下载相应 JDBC 驱动 jar 包,并将其放入 `${shardingsphere-proxy}/ext-lib` 目录。
 
-| 数据库   | JDBC 驱动                                                                                              |
-|-------|------------------------------------------------------------------------------------------------------|
-| MySQL | [mysql-connector-java-8.0.31.jar](https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.31/) |
+| 数据库   | JDBC 驱动                                                                                          |
+|-------|--------------------------------------------------------------------------------------------------|
+| MySQL | [mysql-connector-j-8.3.0.jar](https://repo1.maven.org/maven2/com/mysql/mysql-connector-j/8.3.0/) |
 
 如果是异构迁移,源端支持范围更广的数据库。JDBC 驱动处理方式同上。
 
diff --git a/docs/document/content/user-manual/shardingsphere-proxy/migration/build.en.md b/docs/document/content/user-manual/shardingsphere-proxy/migration/build.en.md
index b284845e9b4..f7a6da224f5 100644
--- a/docs/document/content/user-manual/shardingsphere-proxy/migration/build.en.md
+++ b/docs/document/content/user-manual/shardingsphere-proxy/migration/build.en.md
@@ -43,7 +43,7 @@ If the backend is connected to the following databases, download the correspondi
 
 | Database | JDBC Driver                                                                                          |
 |----------|------------------------------------------------------------------------------------------------------|
-| MySQL    | [mysql-connector-java-8.0.31.jar](https://repo1.maven.org/maven2/mysql/mysql-connector-java/8.0.31/) |
+| MySQL    | [mysql-connector-j-8.3.0.jar](https://repo1.maven.org/maven2/com/mysql/mysql-connector-j/8.3.0/) |
 
 If you are migrating to a heterogeneous database, then you could use more types of database. Introduce JDBC driver as above too.
 
diff --git a/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/pom.ftl b/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/pom.ftl
index 4ae3ca09111..9b525cc324b 100644
--- a/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/pom.ftl
+++ b/examples/shardingsphere-jdbc-example-generator/src/main/resources/template/pom.ftl
@@ -198,7 +198,7 @@
         <dependency>
             <groupId>com.mysql</groupId>
             <artifactId>mysql-connector-j</artifactId>
-            <version>8.0.31</version>
+            <version>8.3.0</version>
         </dependency>
         
         <dependency>