Bug #69797 mysqlfailover tool doesn't work with login-path defined with dashes in a name
Submitted: 19 Jul 2013 19:10 Modified: 14 Sep 2014 19:59
Reporter: Vadim Pestovnikov Email Updates:
Status: No Feedback Impact on me:
Category:MySQL Utilities Severity:S3 (Non-critical)
Version:1.3.3 OS:Any
Assigned to: CPU Architecture:Any
Tags: login-path, mysql workbench utilities, mysqlfailover

[19 Jul 2013 19:10] Vadim Pestovnikov
I created .mylogin.cnf using login-path variable with dashes in its name.

How to repeat:
mysql_config_editor set --login-path=master-db1 --host= --user=admin_user --password

run mysqlfailover:

e.g. mysqlfailover --master=master-db1 --discover-slaves-login=admin_user --rediscover --log=mysqlfailover.log

ERROR: Master connection values invalid or cannot be parsed: master-db1 (using login-path authentication: No login credentials found for login-path. Please review the used connection string: master-db1)

Suggested fix:
Avoid "-" in login-path names:

e.g. mysql_config_editor set --login-path=masterdb1 --host= --user=admin_user --password
[14 Aug 2014 19:59] Sveta Smirnova
Thank you for the report.

I cannot repeat described behavior with version 1.4.2. Please upgrade and inform us if the issue still exists in your environment.
[15 Sep 2014 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".