Bug #51440 | configuration file option proxy-backend-addresses cannot be set multiple times | ||
---|---|---|---|
Submitted: | 24 Feb 2010 1:54 | Modified: | 26 Feb 2010 16:36 |
Reporter: | Dario Souza | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Proxy: Install/Config | Severity: | S2 (Serious) |
Version: | 0.8.0 | OS: | Any |
Assigned to: | MC Brown | CPU Architecture: | Any |
Tags: | configuration config file addresses |
[24 Feb 2010 1:54]
Dario Souza
[24 Feb 2010 12:00]
Kay Roepke
Thank you for your report. The documentation does not mention how the ini file configuration works, which is slightly different to the command line options: On the command line multiple proxy-backend-addresses can be set by repeating the option. In the ini file, list the multiple addresses in one proxy(-read-only)-backend-addresses= separated by commas, like: proxy-read-only-backend-addresses = db-slave-1:3306, db-slave-2:3306, db-slave-3:3306, db-slave-4:3306 In general, if the option name is the plural, the above applies to it. If not, then that option is misnamed. Should you find a case like that, we greatly appreciate a bug report. I'm setting this to documenting because it is just an omission in the documentation.
[26 Feb 2010 16:36]
MC Brown
I've added notes to the documentation on the format differences on the command line and config file, including explicit examples for this and read-only-backend-addresses.