MySQL Forums
Forum List  »  Router & Proxy

Re: Config Issue, Multiple Listing IP Address
Posted by: Chris Calender
Date: April 20, 2010 04:24PM

The problem is you are trying to set the wrong variable.

--proxy-address is the listening host name (or IP address) and port of the proxy server.

So this should only have a single value (you are only running a single proxy).

I think you'll want to probably use --proxy-backend-addresses, or perhaps --proxy-read-only-backend-addresses, depending on your needs.

http://dev.mysql.com/doc/refman/5.0/en/mysql-proxy-configuration.html#option_mysql-proxy_proxy-backend-addresses

And for reference:

"When using this option on the command-line, you can specify the option and the server multiple times to specify multiple backends. For example:

shell> mysql-proxy --backend-addresses 192.168.0.1:3306 --backend-addresses 192.168.0.2:3306

When using the option within the configuration file, you should separate multiple servers with a comma."



Edited 1 time(s). Last edit at 04/20/2010 04:37PM by Chris Calender.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Config Issue, Multiple Listing IP Address
2632
April 20, 2010 04:24PM


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.