Atlas做mysql读写分离
Atlas做mysql读写分离: Atlas奇虎360的一个开源中间代理,是在mysql-proxy 0.8.2的基础上进行了优化,增加一些新的功能特性。 wget https://github.com/Qihoo360/Atlas/releases/download/2.2.1/Atlas-2.2.1.el6.x86_64.rpm rpm -i Atlas-2.2.1.el6.x86_64.rpm 安装路径为/usr/local/mysql-proxy /usr/local/mysql-proxy/bin/encrypt xxxxxxx vi /usr/local/mysql-proxy/conf/test.cnf admin-username = ming admin-password = xxxxxx proxy-backend-addresses = 10.0.1.3:3306 proxy-read-only-backend-addresses = 10.0.1.4:3306@1,10.0.1.5:3306@1 pwds = ming:QeoyfAql8w4a8s/oWZlMvQ== proxy-address = 10.0.1.2:1234 admin-address = 10.0.1.2:2345 #client-ips = 127.0.0.1, 192.168.1