Connecting to MySQL NDB Cluster
Posted by: Deepak Goel
Date: June 15, 2021 12:07AM

Hello

Has anyone out here used java to make a connection to the MySQL NDB cluster? I can't get it to work (no errors, but I can't connect also)

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
Written By
Posted
Connecting to MySQL NDB Cluster
June 15, 2021 12:07AM


Sorry, only registered users may post in this forum.

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.