Connecting to cluster
I have set-up the cluster as instructed. How do I connect to mysql from my application server?
And How do I import the data from current mysql installation?
You can have your SQL nodes behind a loadbalancer, and your apps can connect via the loadbalancer.
If you want to use HA Proxy, you might want to check out:
It automatically sets up HA Proxy and adds the SQL nodes to its list of hosts.
If you have two app servers, we recommend you deploy an HA Proxy on each app server.
You might also be able to use a MySQL connector that takes care of connecting to multiple MySQL Servers, e.g. for JDBC:
As for loading with data, here is a blog post that might help:
Please sign in to leave a comment.