Y-sir commented on issue #34925:
URL: 
https://github.com/apache/shardingsphere/issues/34925#issuecomment-2709639080

   > > * Actually, the master branch of shardingsphere is using the JDBC Driver 
of `org.opengauss:opengauss-jdbc:3.1.0-og` to do integration testing on the 
Docker Image of `enmotech/opengauss-lite:5.1.0`. Can you use 
`org.opengauss:opengauss-jdbc:3.1.0-og` for testing? Or you try to raise a PR 
to update https://github.com/apache/shardingsphere/blob/master/pom.xml#L128 to 
`org.opengauss:opengauss-jdbc:6.0.0-og`?
   > > * Do you mean `org.opengauss:opengauss-jdbc:6.0.0-og` or 
`org.opengauss:opengauss-jdbc:6.0.0`? These two JDBC Drivers use different java 
packages, and ShardingSphere only tests the `*-og` versions.
   > > 
   > > > openGauss version: 7.0.0 compiled from latest source code
   > > 
   > > 
   > > 
   > > * Can you point out what Docker Image you are using? Is it on Docker Hub 
or GHCR?
   > 
   > Hi hengqiang I am not using a Docker Image, I deployed shardingsphere on 
openEuler 20, downloaded the code of shardingsphere on github and compile it 
with maven. And for the openGauss. I download the code from gitee and compile 
the code. I think I am using `org.opengauss:opengauss-jdbc:6.0.0-og`. I will 
try `org.opengauss:opengauss-jdbc:3.1.0-og` Now my solution is comment the 
`setDolphin` part code in jdbc. And now I can connect to shardingsphere with 
jdbc, but i think this is not a good solution.
   > 
   > ```
   >  uname -a
   > Linux localhost.localdomain 4.19.90-2003.4.0.0036.oe1.aarch64 #1 SMP Mon 
Mar 23 19:06:43 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
   > 
   >  cat /etc/os-release 
   > NAME="openEuler"
   > VERSION="20.03 (LTS)"
   > ID="openEuler"
   > VERSION_ID="20.03"
   > PRETTY_NAME="openEuler 20.03 (LTS)"
   > ANSI_COLOR="0;31"
   > ```
   
   @jzs1997 Hello, I am also facing this problem. You said that your solution 
is to comment out the setDolphin part of the code in jdbc, so that you can use 
jdbc to connect to shardingsphere. Which part of the code did you comment out?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to