Quantcast
Channel: MySQL Forums - NDB clusters
Viewing all articles
Browse latest Browse all 1560

Is the master node only writable (1 reply)

$
0
0
Hi,
I am newbie to NDB Clustering concepts.

Currently cluster config I have successfully setup is as below:

NodeA : data1, sql1

NodeB : data2, sql2

NodeC : mgmt1


In my java program I connect to NodeA on port 3306(mysqld).

Connection URL for Connector/J is:

<property name="jdbcUrl" value="jdbc:mysql://address=(type=master)(host=nodeA),address=(type=master)(host=nodeB)/db" />

When NodeA goes down, I can only execute read-only queries to NodeB.

I am unable to figure out what I am missing to achieve failover.

Viewing all articles
Browse latest Browse all 1560

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>