Bug #79213 MySQL Utilities does not support an alternate login path file name

Submitted: 10 Nov 2015 21:30 Modified: 24 Oct 2016 20:16
Reporter: monty solomon Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Utilities Severity:S2 (Serious)
Version:1.5, 1.6 OS:CentOS
Assigned to: CPU Architecture:Any

[10 Nov 2015 21:30] monty solomon
Description:
MySQL Utilities does not support the use of the MYSQL_TEST_LOGIN_FILE environment variable to specify an alternate login path file name.

The documentation for mysql_config_editor specifies

To specify an alternate login path file name, set the MYSQL_TEST_LOGIN_FILE environment variable. This variable is recognized by mysql_config_editor, by standard MySQL clients (mysql, mysqladmin, and so forth), and by the mysql-test-run.pl testing utility.

How to repeat:
Create an alternate login path file using mysql_config_editor.

Try to use it with MySQL Utilities.

Suggested fix:
Add code to read the MYSQL_TEST_LOGIN_FILE environment variable.
[21 Oct 2016 7:02] Chiranjeevi Battula
Hello monty solomon,

Thank you for the bug report.
Verified based on internal discussion with dev's will take it up as a feature request.

Thanks,
Chiranjeevi.
[24 Oct 2016 20:16] monty solomon
Until it is added or fixed the documentation for mysql_config_editor / MYSQL_TEST_LOGIN_FILE should be updated to state that it doesn't work with MySQL Utilities.

http://dev.mysql.com/doc/refman/5.7/en/mysql-config-editor.html

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

Page generated in 0.051 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.