MySQL Forums
Forum List  »  Router & Proxy

Re: r/w splitting error,only open a server,the open server is master.Thanks.anxious.anxious,Thanks!!!
Posted by: cerlin gao
Date: September 06, 2007 04:43AM

我用xtab lua也有问题,我分别在两个机器上输入mysql -h 192.168.0.7 -P 4040,每个机器上输出的结果都是自己的数据的结果啊,怎么样输入才能实现load balancing.我输入的命令是这样的:
LUA_PATH="/usr/bin/mysql-proxy/trunk/lib/xtab.lua" /usr/bin/mysql-proxy/trunk/mysql-proxy-0.6.0/src/mysql-proxy --proxy-backend-addresses=192.168.0.7:3306 --proxy-backend-addresses=192.168.0.6:3306 --proxy-lua-script=/usr/bin/mysql-proxy/trunk/lib/xtabl.lua
哪可以下载r/w splitting script?
Very Thanks.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: r/w splitting error,only open a server,the open server is master.Thanks.anxious.anxious,Thanks!!!
2914
September 06, 2007 04:43AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.