Bug #69886 mysqladmin doesn't understand --skip-secure-auth
Submitted: 1 Aug 2013 1:20 Modified: 8 Aug 2013 10:58
Reporter: Alfie John Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:5.6.12 OS:Linux (Debian)
Assigned to: CPU Architecture:Any

[1 Aug 2013 1:20] Alfie John
Description:
If the server has secure_auth=OFF, you can still connect with the mysql client using pre-4.1.1 authentication with the --skip-secure-auth option.

However, you can't manage the server with mysqladmin as mysqladmin doesn't understand --skip-secure-auth.

How to repeat:
$ mysqladmin -p shutdown
mysqladmin: connect to server at '127.0.0.1' failed
error: 'Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled)'

$ mysqladmin -p --skip-secure-auth shutdown
mysqladmin: unknown option '--skip-secure-auth'

# having defined secure_auth = OFF in /etc/mysql/my.cnf:
$ mysqladmin -p --defaults-file=/etc/mysql/my.cnf
mysqladmin: unknown variable 'secure_auth=OFF'

$ mysql -p
ERROR 2049 (HY000): Connection using old (pre-4.1.1) authentication protocol refused (client option 'secure_auth' enabled)

$ /usr/local/mysql/bin/mysql--skip-secure-auth
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 22
...

Suggested fix:
Allow the mysqladmin tool to accept the secure_auth config file option and --skip-secure-auth command line option.
[8 Aug 2013 10:58] MySQL Verification Team
Thank you for the report
Duplicate of Bug #69053, Bug #69051