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:
..

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.037 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.