-
-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
nixos/mysql: add statements option to replace initialDatabases, ensureDatabases, and ensureUsers options #94048
Conversation
@GrahamcOfBorg test mysql mysql-replication |
@GrahamcOfBorg test engelsystem gitea.mysql limesurvey |
With this configuration not automatic loading auth_socket plugin.
May leave this option?
How to simplify configuration to:
and automatic replace ${socketAuth} to "unix_socket" or "auth_socket" |
…eDatabases, and ensureUsers options
…ers options with statements
1e09e77
to
e233e29
Compare
@Izorkin thanks for catching that. It was a mistake that the |
This code:
is it possible to move this code to
|
@Izorkin you can't scope a |
Motivation for this change
I would like to proceed with #84146 but the
mysql
module is more pressing to my immediate needs. Specifically I can't move ahead with #87712 using theensureDatabase
options as there is no ability to specify character sets, etc...If this is merged I would follow up by rebasing #87712 and getting it in shape for merge as well.
NOTE: I haven't written release notes for this yet, waiting on general approval of this PR first.
Things done
sandbox
innix.conf
on non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
./result/bin/
)nix path-info -S
before and after)