MySQL Forums
Forum List  »  Router & Proxy

Re: Admin PlugIn - An 'HowTo' is needed
Posted by: Diego Medina
Date: May 04, 2009 08:37PM

Hi Mitch,


Your options look ok and you are getting the source code from the right place as well.

In which folder are you when you execute

DEBUG=2 mysql-proxy --admin-lua-script=scripts/admin.lua --log-level=debug --log-file=scripts/mysql-proxy.log --proxy-backend-addresses=192.168.201.247:3306 --proxy-read-only-backend-addresses=192.168.201.248:3306 --proxy-lua-script=scripts/reporter.lua


Make sure you are in the sbin folder, because there are like 4 different mysql-proxy binaries/scripts on different places that do different things :P


And as a safe note, I normally use the full path for the script, to avoid errors on where I start the proxy from and others.

Let me know if that works

Thanks

--
Diego Medina, QA Engineer
Enterprise Tools - Database Group, Sun Microsystems

Are you MySQL certified? http://www.mysql.com/certification

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Admin PlugIn - An 'HowTo' is needed
3436
May 04, 2009 08:37PM


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.