github / ccql

**No longer maintained, archived Feb 2023** Multi server MySQL client
MIT License
322 stars 55 forks source link

Use .my.cnf or .mylogin.cnf if available... #59

Open tomkrouper opened 4 years ago

tomkrouper commented 4 years ago

If native mysql commands, you don't have to specify a credentials file if you don't want to. The request here is to check for the existence of config files in the same way mysql or mysqldump would do. Additionally adding the option --login-path=# which would use the credentials from .mylogin.cnf or default to [client] if the file exists and --login-path is not provided.

shlomi-noach commented 4 years ago

Would either of @nickcanz / @jfudally / @timvaillancourt be interested in picking this up by way of introduction to ccql?

jfudally commented 4 years ago

I can add it to my backlog, and as soon as I finish up the devel mysql upgrades I can take a look at this.