pf » MySQL JDBC Load Balancing with MySQL Cluster

MySQL JDBC Load Balancing with MySQL Cluster

databases

Here's a neat tip posted by Henrik Ingo from the MySQL Telecom Team

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


Related Entries
2 people found this page useful, what do you think?

WAF for CF
Trackback Address: 684/3EFF38C979A69DFD01019743AC7ACD9B
On 11/28/2008 at 12:16:15 PM MST O?uz Demirkap? wrote:
1
Thanks Pete.

Great tip!




  



Spell Checker by Foundeo





Subscribe to my RSS Feed: solosub RSS
Tags