MySQL JDBC Load Balancing with MySQL Cluster

by Pete Freitag

Here's a neat tip posted by Henrik Ingo from the MySQL Telecom Team (link no longer works)

It's not really properly documented in the manual part, but I found in the changelogs, and confirmed on IRC that to do load-balancing across the SQL nodes in MySQL Cluster, you would use a different JDBC connection string with the "loadbalance" keyword added...
jdbc:mysql:loadbalance://host-1,host-2,...host-n/database?loadBalanceBlacklistTimeout=5000