Skip to content

Commit

Permalink
Merge pull request wso2#8624 from ashera96/4.1.0
Browse files Browse the repository at this point in the history
[4.1.0] Mention the tested MySQL Java Connector version
  • Loading branch information
ashera96 authored Nov 1, 2024
2 parents d5dc91b + 685f608 commit 42e7cc0
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 4 deletions.
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 @@ -138,7 +138,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 @@ -82,8 +82,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 @@ -109,9 +109,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

0 comments on commit 42e7cc0

Please sign in to comment.