MySQL Forums
Forum List  »  Router & Proxy

How to use two or more lua scripts at the same time?
Posted by: Jonathan López
Date: August 24, 2010 09:27AM

Hi,

I want to use two lua scripts at the same time, at the end i paste my config file.

Which is the correct form to do this? I dont find anything in the documentacion :S

[mysql-proxy]
daemon = true
keepalive = true
log-level = debug
log-file = /var/log/mysql-proxy.log
proxy-address = x.x.x.x:3306

proxy-backend-addresses = 192.168.1.33:3306
proxy-read-only-backend-addresses = 192.168.1.34:3306,192.168.1.35:3306

proxy-lua-script = /opt/mysql-proxy/scripts/rw-splitting.lua
proxy-lua-script = /opt/mysql-proxy/scripts/log.lua

Thanks!

Options: ReplyQuote


Subject
Views
Written By
Posted
How to use two or more lua scripts at the same time?
3740
August 24, 2010 09:27AM


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.