MySQL Forums
Forum List  »  NDB clusters

Re: Java and NDB Clusters
Posted by: Deepak Goel
Date: June 14, 2021 12:11PM

Sorry. I might have made some mistake. So it might not be a bug (Seems too general for it to be a bug). But I will file it as a bug anyways.

Has anyone out here used java to make a connection to the MySQL NDB cluster?

The settings which I am using are:

1. Database URL: jdbc:mysql:loadbalance://172.31.92.202:3306,172.31.25.182:3306/clustertest

2. JDBC Driver Class:
com.mysql.cj.jdbc.Driver

3. Username:
root

4. Password:
root

I am connecting through Jmeter using the mysql-connector-java-8.0.25.jar.

Thanks!
Deepak

P.S: I can connect to the two MySQL Server nodes directly through Jmeter (172.31.92.202:3306,172.31.25.182:3306). The settings used by me are:

Database URL:
jdbc:mysql://172.31.92.202:3306/clustertest
jdbc:mysql://172.31.25.182:3306/clustertest

Driver:
com.mysql.jdbc.Driver

Username:
root

Password:
root

Options: ReplyQuote


Subject
Views
Written By
Posted
433
June 11, 2021 01:53PM
165
June 12, 2021 08:51AM
200
June 13, 2021 09:44AM
183
June 13, 2021 03:03PM
167
June 14, 2021 04:44AM
150
June 14, 2021 05:05AM
Re: Java and NDB Clusters
187
June 14, 2021 12:11PM
205
June 14, 2021 01:01PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.