-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
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: Explicitly set datadir in my.cnf #49838
Conversation
While this seems silly at first (it's already given as start parameter to mysqld), it seems like xtrabackup needs that sometimes. Without it, a Galera cluster cannot be run using the xtrabackup replication method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@dasJ Nice straight forward change. Seems reasonable to backport to 18.09 as well. Just need to find someone to merge.
@GrahamcOfBorg test mysql |
No attempt on x86_64-linux (full log) The following builds were skipped because they don't evaluate on x86_64-linux: tests.mysql Partial log (click to expand)
|
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: tests.mysql Partial log (click to expand)
|
@GrahamcOfBorg build nixosTests.mysql |
Success on aarch64-linux (full log) Attempted: nixosTests.mysql Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: nixosTests.mysql Partial log (click to expand)
|
@samueldr quick and easy merge? |
While this seems silly at first (it's already given as start parameter
to mysqld), it seems like xtrabackup needs that sometimes.
Without it, a Galera cluster cannot be run using the xtrabackup
replication method.
Motivation for this change
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)