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
777
June 11, 2021 01:53PM
355
June 12, 2021 08:51AM
392
June 13, 2021 09:44AM
359
June 13, 2021 03:03PM
431
June 14, 2021 04:44AM
331
June 14, 2021 05:05AM
Re: Java and NDB Clusters
379
June 14, 2021 12:11PM
398
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.