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

wso2 api manager v.4.3.0 switching from h2 to mysql database #3337

Open
JGMAGNO opened this issue Nov 6, 2024 · 0 comments
Open

wso2 api manager v.4.3.0 switching from h2 to mysql database #3337

JGMAGNO opened this issue Nov 6, 2024 · 0 comments

Comments

@JGMAGNO
Copy link

JGMAGNO commented Nov 6, 2024

Description

I successfully executed dbscripts for apim_db and shared_db, and configured my deployment.toml to point to the mysql database server,

[database.apim_db]
#type = "h2"
#url = "jdbc:h2:./repository/database/WSO2AM_DB;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE"
#username = "wso2carbon"
#password = "wso2carbon"
type = "mysql"
url = "jdbc:mysql://192.168.15.91:3306/apim_db"
username = "root"
password = "password"
driver="com.mysql.cj.jdbc.Driver"

[database.shared_db]
#type = "h2"
#url = "jdbc:h2:./repository/database/WSO2SHARED_DB;DB_CLOSE_ON_EXIT=FALSE"
#username = "wso2carbon"
#password = "wso2carbon"
type = "mysql"
url = "jdbc:mysql://192.168.15.91:3306/shared_db"
username = "root"
password = "password"
driver="com.mysql.cj.jdbc.Driver"

but I am encountering this error.

image

Steps to Reproduce

https://apim.docs.wso2.com/en/4.3.0/install-and-setup/setup/setting-up-databases/changing-default-databases/changing-to-mysql/

Affected Component

APIM

Version

4.3

Environment Details (with versions)

No response

Relevant Log Output

No response

Related Issues

No response

Suggested Labels

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant