From 7a89a0aae2e9b6702ea4933ab9a63e5fbd907c67 Mon Sep 17 00:00:00 2001 From: Ashera Silva Date: Fri, 1 Nov 2024 11:42:52 +0530 Subject: [PATCH 1/2] Mention the tested MySQL Java Connector version --- en/docs/design/api-monetization/monetizing-an-api.md | 5 ++++- .../setup/distributed-deployment/product-profiles.md | 5 ++++- .../changing-default-databases/changing-to-mysql.md | 7 +++++-- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/en/docs/design/api-monetization/monetizing-an-api.md b/en/docs/design/api-monetization/monetizing-an-api.md index b7c8e1712c..55426b8881 100644 --- a/en/docs/design/api-monetization/monetizing-an-api.md +++ b/en/docs/design/api-monetization/monetizing-an-api.md @@ -124,7 +124,10 @@ Let's use the [wso2-am-stripe-plugin](https://github.com/wso2-extensions/wso2-am 1. Download and add the database related connector JAR into the`/repository/components/lib/` directory. 3. Create the required databases, namely the API-M database (`apimgtdb` also known as `WSO2_AM_DB`) and the shared database (`WSO2_SHARED_DB` also known as `shareddb`). diff --git a/en/docs/install-and-setup/setup/setting-up-databases/changing-default-databases/changing-to-mysql.md b/en/docs/install-and-setup/setup/setting-up-databases/changing-default-databases/changing-to-mysql.md index ff7b38d085..c493448475 100644 --- a/en/docs/install-and-setup/setup/setting-up-databases/changing-default-databases/changing-to-mysql.md +++ b/en/docs/install-and-setup/setup/setting-up-databases/changing-default-databases/changing-to-mysql.md @@ -115,9 +115,12 @@ Follow the instructions below to set up a MySQL database: 1. Unzip the WSO2 API Manager pack. Let's refer to it as ``. -2. Download the MySQL Java connector [JAR file](https://dev.mysql.com/downloads/connector/j/), and extract it. +2. Download the MySQL Java Connector from [MySQL Connector/J (Archived Versions)](https://downloads.mysql.com/archives/c-j/), and extract it. -3. Copy it to the `/repository/components/lib/` directory in all the nodes of the cluster. + !!! tip + The tested connector version is **8.0.33**. + +3. Copy the connector JAR file to the `/repository/components/lib/` directory in all the nodes of the cluster. !!! tip Be sure to use the connector version that is supported by the MySQL version you use. If you come across any issues due to version incompatibility, follow the instructions below: From dace431bc2b060c378969339f54490b606a3826f Mon Sep 17 00:00:00 2001 From: Ashera Silva Date: Fri, 1 Nov 2024 12:31:02 +0530 Subject: [PATCH 2/2] Update the tip with recommended connector version based on the mysql version --- en/docs/design/api-monetization/monetizing-an-api.md | 7 +++++-- .../setup/distributed-deployment/product-profiles.md | 7 +++++-- .../changing-default-databases/changing-to-mysql.md | 5 ++++- 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/en/docs/design/api-monetization/monetizing-an-api.md b/en/docs/design/api-monetization/monetizing-an-api.md index 55426b8881..f8f3069812 100644 --- a/en/docs/design/api-monetization/monetizing-an-api.md +++ b/en/docs/design/api-monetization/monetizing-an-api.md @@ -126,8 +126,11 @@ Let's use the [wso2-am-stripe-plugin](https://github.com/wso2-extensions/wso2-am As a MySQL database is used for this example scenario, download and copy the [MySQL connector JAR](https://downloads.mysql.com/archives/c-j/) into the `/repository/components/lib/` directory. diff --git a/en/docs/install-and-setup/setup/setting-up-databases/changing-default-databases/changing-to-mysql.md b/en/docs/install-and-setup/setup/setting-up-databases/changing-default-databases/changing-to-mysql.md index c493448475..1f058df39d 100644 --- a/en/docs/install-and-setup/setup/setting-up-databases/changing-default-databases/changing-to-mysql.md +++ b/en/docs/install-and-setup/setup/setting-up-databases/changing-default-databases/changing-to-mysql.md @@ -118,7 +118,10 @@ Follow the instructions below to set up a MySQL database: 2. Download the MySQL Java Connector from [MySQL Connector/J (Archived Versions)](https://downloads.mysql.com/archives/c-j/), and extract it. !!! tip - The tested connector version is **8.0.33**. + Look for the compatible MySQL Connector version based on the MySQL version being used. + + - For MySQL version 8.0.x, the compatible MySQL Connector version is **8.0.x**. + - For MySQL version 8.4.x, the compatible MySQL Connector version is **8.4.x**. 3. Copy the connector JAR file to the `/repository/components/lib/` directory in all the nodes of the cluster.