Bug #96490 MySQL Shell does not know about my.cnf default location
Submitted: 9 Aug 2019 15:07 Modified: 12 Aug 2019 8:40
Reporter: Truphone DBA Email Updates:
Status: Verified Impact on me:
None 
Category:Shell AdminAPI InnoDB Cluster / ReplicaSet Severity:S3 (Non-critical)
Version:8.0.17 OS:Any
Assigned to: CPU Architecture:Any

[9 Aug 2019 15:07] Truphone DBA
Description:
Hi,
When using mysql shell (linux) configureInstance() it does not see my.cnf location, even if it's on the default location (/etc/my.cnf)

Version 8.0.15 does not have this issue

How to repeat:
using MySQL Shell 8.0.17:
-----------------
sudo mysqlsh \c user:mypassword@10.8.15.150   -- dba configureLocalInstance

Detecting the configuration file...
Default file not found at the standard locations.
Please specify the path to the MySQL configuration file:
-----------------

using MySQL Shell 8.0.15:
-----------------
sudo mysqlsh \c user:mypassword@10.8.15.150   -- dba configureLocalInstance

Detecting the configuration file...
Found configuration file at standard location: /etc/my.cnf
Do you want to modify this file? [y/N]:

-----------------

Suggested fix:
MySQL Shell should see the default location.
[12 Aug 2019 8:40] MySQL Verification Team
Hello Pedro Pinheiro,

Thank you for the report and feedback.

regards,
Umesh