Description:
MySQL 5.6.5 (and higher) should warn when started with --skip-secure-auth, but it does not:
D:\mysql-5.6.5-m8-win32>bin\mysqld --no-defaults --console --port=3307 --skip-secure-auth
120530 7:21:20 [Note] Plugin 'FEDERATED' is disabled.
120530 7:21:20 InnoDB: The InnoDB memory heap is disabled
120530 7:21:20 InnoDB: Mutexes and rw_locks use Windows interlocked functions
120530 7:21:20 InnoDB: Compressed tables use zlib 1.2.3
120530 7:21:20 InnoDB: CPU does not support crc32 instructions
120530 7:21:20 InnoDB: Initializing buffer pool, size = 128.0M
120530 7:21:20 InnoDB: Completed initialization of buffer pool
120530 7:21:20 InnoDB: highest supported file format is Barracuda.
120530 7:21:20 InnoDB: 128 rollback segment(s) are active.
120530 7:21:20 InnoDB: 1.2.5 started; log sequence number 1699464
120530 7:21:20 [Note] Event Scheduler: Loaded 0 events
120530 7:21:20 [Note] bin\mysqld: ready for connections.
Version: '5.6.5-m8' socket: '' port: 3307 MySQL Community Server (GPL)
This seems to be the case regardless of whether --skip-secure-auth is passed as a command-line argument or specified in the configuration file:
D:\mysql-5.6.5-m8-win32>bin\mysqld --defaults-file=secure-test.ini --console --port=3307
120530 7:19:34 [Note] Plugin 'FEDERATED' is disabled.
120530 7:19:34 InnoDB: The InnoDB memory heap is disabled
120530 7:19:34 InnoDB: Mutexes and rw_locks use Windows interlocked functions
120530 7:19:34 InnoDB: Compressed tables use zlib 1.2.3
120530 7:19:34 InnoDB: CPU does not support crc32 instructions
120530 7:19:34 InnoDB: Initializing buffer pool, size = 128.0M
120530 7:19:34 InnoDB: Completed initialization of buffer pool
120530 7:19:35 InnoDB: highest supported file format is Barracuda.
120530 7:19:35 InnoDB: 128 rollback segment(s) are active.
120530 7:19:35 InnoDB: 1.2.5 started; log sequence number 1699454
120530 7:19:36 [Note] Event Scheduler: Loaded 0 events
120530 7:19:36 [Note] bin\mysqld: ready for connections.
Version: '5.6.5-m8' socket: '' port: 3307 MySQL Community Server (GPL)
How to repeat:
Start 5.6.5 with --skip-secure-auth, both as command-line argument and in configuration file.
Suggested fix:
Provide warning.