Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.2.0] Mention the tested MySQL Java Connector version #8623

Merged
merged 2 commits into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion en/docs/design/api-monetization/monetizing-an-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,13 @@ 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`<APIM_HOME/repository/components/lib` directory.

As a MySQL database is used for this example scenario, download and copy the [MySQL connector JAR](https://mvnrepository.com/artifact/mysql/mysql-connector-java/5.1.36) into the `<APIM_HOME/repository/components/lib` directory.
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 `<APIM_HOME/repository/components/lib` directory.

!!! tip
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**.

2. Configure the WSO2 API Manager related datasource.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,14 @@ Create an optimized distribution for a particular API-M profile.

For example, if you are using a MySQL database,

1. Download the MySQL connector JAR file and extract it.
1. Download the [MySQL connector JAR](https://downloads.mysql.com/archives/c-j/) file and extract it.

!!! tip
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**.

2. Copy it to the `<API-M_HOME>/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`).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,15 @@ Follow the instructions below to set up a MySQL database:

1. Unzip the WSO2 API Manager pack. Let's refer to it as `<API-M_HOME>`.

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 `<API-M_HOME>/repository/components/lib/` directory in all the nodes of the cluster.
!!! tip
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 `<API-M_HOME>/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:
Expand Down