MySQL Forums
Forum List  »  Router & Proxy

Re: How to use two or more lua scripts at the same time?
Posted by: Chris Calender
Date: August 24, 2010 04:55PM

You can only have one lua script for --proxy-lua-script.

However, aside from combining the two scripts into one, you can daisy-chain 2 proxies together.

For instance, start one instance of proxy with rw-splitting.lua, on say port 4040 (with backend address of 3306). And then start another with log.lua on port 4050 (with backend address of 4040).

Hope this helps.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: How to use two or more lua scripts at the same time?
1841
August 24, 2010 04:55PM


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.