MySQL Forums
Forum List  »  Router & Proxy

Re: mysql-proxy 0.7.0 and configs-file
Posted by: Olivier Le Cam
Date: April 23, 2008 01:40AM

Well, I managed to get it working. For those who can find this of interest, here are some comments.

As stated in the NEWS changelog, the proxy and admin codes moved into modules. So it is now mandatory to specify, when starting mysql-proxy, the modules you need:

mysql-proxy [--plugins=admin] [--plugins=proxy]

Regarding the "config files" (option: --defaults-config=/path/of/config/file), it can be organized like following:

[mysql-proxy]
proxy-address = address:port
proxy-backend-addresses = adress:port

Just put a "[mysql-proxy]" group top of this file then place all the regular options you need.

I still can't get the "--log-use-syslog" option working, but it's not a big issue.

HTH

--
Olivier Le Cam

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: mysql-proxy 0.7.0 and configs-file
3671
April 23, 2008 01:40AM


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.