Bug #8207 mysqladmin --help doesn't show it's ability to execute a debug command
Submitted: 31 Jan 2005 8:21 Modified: 3 Feb 2005 5:47
Reporter: Gleb Paharenko Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:4.1.9 OS:Linux (Linux)
Assigned to: Jim Winstead

[31 Jan 2005 8:21] Gleb Paharenko
Description:
As said at:
  http://dev.mysql.com/doc/mysql/en/debugging-server.html
" The command mysqladmin debug will dump some information about locks in use, used memory and query usage to the MySQL log file. "
But in help message of mysqladmin there is no any note about this command. Also  at:
  http://dev.mysql.com/doc/mysql/en/mysqladmin.html
I didn't found an explanation of it. --debug - not the same as debug command, but
it is not clear from mysqladmin manual page.

How to repeat:
[gleb@toyou mysql-debug-4.1.9-pc-linux-gnu-i686]$ ./bin/mysqladmin --defaults-file=my.cnf -u root debug
[gleb@toyou mysql-debug-4.1.9-pc-linux-gnu-i686]$
[gleb@toyou mysql-debug-4.1.9-pc-linux-gnu-i686]$ ./bin/mysqladmin --help |grep debug
  -#, --debug[=name]  Output debug log. Often this is 'd:t:o,filename'.
[gleb@toyou mysql-debug-4.1.9-pc-linux-gnu-i686]$
[31 Jan 2005 17:15] Miguel Solorzano
Thank you for the bug report. Verified on latest BK source.
[2 Feb 2005 17:43] Jim Winstead
Pushed to 4.1.
[3 Feb 2005 5:47] Paul Dubois
Mentioned in 4.1.10 change notes.

I also added the debug command description to the
mysqladmin section in the manual.