Bug #69018 deprecate echo client
Submitted: 19 Apr 2013 21:17
Reporter: Todd Farmer (OCA) Email Updates:
Status: Verified Impact on me:
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:5.6.11 OS:Any
Assigned to: CPU Architecture:Any

[19 Apr 2013 21:17] Todd Farmer
It's not clear to me why the echo client exists in MySQL server packages.  There's no documentation, and while the help doesn't seem to be implemented, it seems pretty clear what it's meant to do:

D:\mysql-advanced-5.6.11-win32>bin\echo -?

D:\mysql-advanced-5.6.11-win32>bin\echo --help

It's just not clear why, or what purpose this client serves being part of the server distribution.

How to repeat:

Suggested fix:
Deprecate and remove, or document the purpose of this client.
[20 Apr 2013 12:17] Marc ALFF
From urban legend in development (as I recall it, to be investigated)

Some MTR test scripts use (or did use ?) echo, but echo may not be available and/or installed for all platforms, so this client was implemented.

Because test scripts are installed, this had to be installed too, so the test suite can be executed.

-- Marc
[22 Apr 2013 9:39] Magnus BlÄudd
echo.exe is used by mysqltest.exe in order to provide --exec echo "sometext" functionality in a way compatible with the *nix echo command(i.e no apostrophes around the printed text).

Should be installed as long as mysqltest.exe uses it.

Of course if the "--exec echo <some text>" construct can be replaced with "--echo <some text>" this feature can be removed.