-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Using --defaults-file ignores the .my.cnf #605
Comments
Hi, Implementation could be adding defaults-extra-file in parameter list Last commit 2.0.7 is a try for this feature |
Can you tell us about this --defaults-extra-file new option ? |
Thanks Jean-Marie, The The idea is to load a master file (which may not be the My issue is that I've multiple MySQL instances on the same server (for development purposes), so I can't test anything else than the default server. Or I must set the credentials within the Perhaps using |
Sorry, just saw your 2.0.7 release. There's an issue with it, as So it should be set within the |
I was trying to use
--defaults-file
(same server, multiple MySQL instances for staging purposes), but adding--defaults-file
prevent the--pass
or.my.cnf
reading.According to MySQL documentation, that makes sense as
defaults-file
is the only file read: https://dev.mysql.com/doc/refman/8.0/en/option-file-options.htmlBut it would be great to implement either
--defaults-extra-file
, allow--pass
to work, or allow using another file to read credentials (.mylogin.cnf
is read by MySQL as a default).Can you point me to the solution you'd rather implement, I could create a PR based on that choice?
Thanks!
The text was updated successfully, but these errors were encountered: