Bug #78774 old-password subcommand is still in mysqladmin --help in 5.7
Submitted: 9 Oct 2015 9:02 Modified: 3 Nov 2015 15:41
Reporter: tsubasa tanaka (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:5.7.9 OS:Any
Assigned to: CPU Architecture:Any

[9 Oct 2015 9:02] tsubasa tanaka
Description:
Old 16 digits style password were removed from MySQL 5.7.
`mysqladmin old-password` has been removed too, but that is still in `mysqladmin --help`

How to repeat:
```
$ mysqladmin --help | grep old-password
  old-password [new-password] Change old password to new-password in old format
```

Suggested fix:
This maybe residual of https://github.com/mysql/mysql-server/commit/12cfb4f9701c56db8ca57d5bc89a2a0bccec2d33

Remove Line-1289 from client/mysqladmin.cc.
https://github.com/mysql/mysql-server/blob/5.7/client/mysqladmin.cc#L1289
[9 Oct 2015 9:15] Umesh Shastry
Hello Tanaka-San,

Thank you for the report.

Thanks,
Umesh
[3 Nov 2015 15:41] Paul Dubois
Noted in 5.7.10, 5.8.0 changelogs.

mysqladmin --help displayed the old-password command, even though the
command itself was removed in MySQL 5.7.5.