Skip to content

Instantly share code, notes, and snippets.

@jamesattard
Created September 19, 2014 14:04
Show Gist options
  • Save jamesattard/244c84a2e22b44b684ec to your computer and use it in GitHub Desktop.
Save jamesattard/244c84a2e22b44b684ec to your computer and use it in GitHub Desktop.
listen MySQL-Proxy 10.250.1.100:3306
mode tcp
option mysql-check user haproxy_check
balance roundrobin
server m-mysql01 10.250.1.101:3306 check maxconn 20
#server m-mysql02 10.250.1.102:3306 check maxconn 20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment