nixos/mysql: add statements option to replace initialDatabases, ensureDatabases, and ensureUsers options#94048
nixos/mysql: add statements option to replace initialDatabases, ensureDatabases, and ensureUsers options#94048aanderse wants to merge 2 commits intoNixOS:masterfrom
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
mysqlmodule is more pressing to my immediate needs. Specifically I can't move ahead with #87712 using theensureDatabaseoptions 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
sandboxinnix.confon non-NixOS linux)nix-shell -p nixpkgs-review --run "nixpkgs-review wip"./result/bin/)nix path-info -Sbefore and after)