MySQL Forums
Forum List  »  MySQL Shell

~/.my.cnf ignored by mysqlsh
Posted by: Victor Martin Alvarez
Date: June 16, 2022 11:22AM

I want `mysqlsh` to pick my configuration from a file. Documentation points out that `~/.my.cnf` is the way to go, Using a group [client] for all client applications. But MySQL Shell ignores the file.

~/.my.cnf
```
[client]
host=mysql_hostname
user=mysql_user
password=mysql_admin_password
```

Am I missing something?

Options: ReplyQuote


Subject
Views
Written By
Posted
~/.my.cnf ignored by mysqlsh
554
June 16, 2022 11:22AM


Sorry, you can't reply to this topic. It has been closed.

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.