MySQL Forums
Forum List  »  Router & Proxy

Re: Implement new R/W split strategy meet some problems
Posted by: Tiago Cruz
Date: May 07, 2008 11:16AM

Theoretically the script will do this

mysql-proxy --proxy-backend-addresses=10.25.0.12:3306 \
--proxy-read-only-backend-addresses=10.25.0.12:4040 \
--proxy-lua-script=/usr/local/share/mysql-proxy/rw-splitting.lua

The first it's you master (WRITE) and the second it's your slave (READ).

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Implement new R/W split strategy meet some problems
2597
May 07, 2008 11:16AM


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.