MySQL Forums
Forum List  »  Router & Proxy

Re: mysql-proxy configuration file problem
Posted by: Chris Calender
Date: April 20, 2010 04:28PM

From the command line, you can issue the full option multiple times for each backend server. However, when specifying it in the config file, you should use a comma-separated list.

From the manual:

"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. The equivalent of the above example would be:"
...
backend-addresses = 192.168.0.1:3306, 192.168.0.2:3306

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

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: mysql-proxy configuration file problem
2791
April 20, 2010 04:28PM


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.