Bug #79192 there is no error when specified --login-path cannot be found
Submitted: 9 Nov 2015 20:35
Reporter: Shane Bester (Platinum Quality Contributor) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S3 (Non-critical)
Version:5.6.27 OS:Any
Assigned to: CPU Architecture:Any

[9 Nov 2015 20:35] Shane Bester
Description:
If I specify a login-path option, and it doesn't exist, or the .mylogin.cnf does not exist,  there is no error.  I expect an error.

E.g, werwer does not exist, but there is not an error, and we try connect anyway.

E:\mysql-5.6.27-win32\bin>mysql --login-path=werwer --verbose
ERROR 1045 (28000): Access denied for user 'ODBC'@'localhost' (using password: NO)

How to repeat:
..