mybatis-3 icon indicating copy to clipboard operation
mybatis-3 copied to clipboard

Connect to Huawei Cloud guassdb

Open Francolinuszhegu opened this issue 2 years ago • 3 comments

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

Francolinuszhegu avatar Nov 06 '23 01:11 Francolinuszhegu

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.).

harawata avatar Nov 06 '23 08:11 harawata

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

Francolinuszhegu avatar Nov 09 '23 02:11 Francolinuszhegu

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.).

harawata avatar Nov 09 '23 11:11 harawata