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

Connect to Huawei Cloud guassdb #2997

Open
415212048 opened this issue Nov 6, 2023 · 3 comments
Open

Connect to Huawei Cloud guassdb #2997

415212048 opened this issue Nov 6, 2023 · 3 comments

Comments

@415212048
Copy link

MyBatis version

3.x.x

Database vendor and version

Huawei Cloud guassdb

Test case or example project

Steps to reproduce

Expected result

Connect to Huawei Cloud guassdb

Actual result

@415212048 415212048 changed the title 连接华为云guassDB Connect to Huawei Cloud guassdb Nov 6, 2023
@harawata
Copy link
Member

harawata commented Nov 6, 2023

Hello @415212048 ,

There is not enough information for us to proceed.
If there is a problem, please provide the details (stack trace, error message, etc.).

@415212048
Copy link
Author

415212048 commented Nov 9, 2023

Currently, it does not have the ability to connect to Huawei Cloud's guassdb database. We hope to expand and supplement it in the future

@harawata
Copy link
Member

harawata commented Nov 9, 2023

I couldn't find "guassdb", so I assumed you meant "GaussDB".


MyBatis uses JDBC API to access databases, so if there is a JDBC driver for GaussDB, you should be able to use MyBatis.

Their doc says ...

You can download the JDBC or ODBC driver provided by GaussDB(DWS) from the management console

GaussDB(DWS) also supports open-source JDBC and ODBC drivers: PostgreSQL JDBC 9.3-1103 or later

The following page explains the configuration details, I think.
https://support.huaweicloud.com/intl/en-us/mgtg-dws/dws_01_0077.html

If you have difficulties, please post the configuration you used and explain "how it does not work" (stack trace, error message, etc.).

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

2 participants