Bug #53013 Example in the Proxy Admin Module docs needs a minor update

Submitted: 20 Apr 2010 23:22 Modified: 5 May 2010 9:58
Reporter: Chris Calender Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Proxy: Documentation Severity:S3 (Non-critical)
Version:0.7.2, 0.8.0 OS:Any
Assigned to: MC Brown CPU Architecture:Any
Tags: admin module, proxy-backend-addresses

[20 Apr 2010 23:22] Chris Calender
Description:
On the following page:

http://dev.mysql.com/doc/refman/5.0/en/mysql-proxy-using-admin.html

It provides this example:

shell> mysql-proxy --admin-lua-script=admin.lua --admin-password=password \ ยป
     --admin-username=root --backend-addresses=127.0.0.1:3306 -proxy-lua-script=reporter.lua

However, "--backend-addresses" should read "--proxy-backend-addresses".

How to repeat:
Bad:

C:\Program Files\MySQL\mysql-proxy-0.7.2\bin>mysql-proxy.exe --admin-lua-script=admin.lua --admin-password=secret --admin-username=root --backend-addresses=127.0.0.1
:3306 --proxy-lua-script=reporter.lua
2010-04-20 19:07:06: (critical) ..\src\chassis.c:868: Unknown option --backend-addresses=127.0.0.1:3306 (use --help to show all options)

Good:

C:\Program Files\MySQL\mysql-proxy-0.7.2\bin>mysql-proxy.exe --admin-lua-script=admin.lua --admin-password=secret --admin-username=root --proxy-backend-addresses=127
.0.0.1:3306 --proxy-lua-script=reporter.lua
... starts fine ...

Suggested fix:
Change "--backend-addresses" to "--proxy-backend-addresses".
[5 May 2010 9:58] MC Brown
Fixed - I also find another instance, and I've fixed that too.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
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.