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
100
June 16, 2022 11:22AM


Sorry, only registered users may post in this forum.

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.