Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds --my-ini-file <file> option to read connection info from mysql INI config file #380

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

TrogloGeek
Copy link

I needed a way to provide password without having it in command argument (which could then be read from user users from the server in /proc) to use it in a script.
First approach would have been to accept it from STDIN when using an option, but that approach would be incompatible with any other STDIN usage, and .my.cnf files are common enough so that would probably be helpful to someone else.

I tried to match your coding style but it is probably not close enough, sorry about that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant