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
mariadb: change location configuration file to /etc/my.cnf #51314
Conversation
441d218
to
8a6c3f3
Compare
Can you expand on that? Why is this needed? Preferably also add this in the commit message. |
It is more convenient to view/edit my.cnf in default and static location. |
8a6c3f3
to
953be3e
Compare
Thanks! |
By the looks of it this seems to have broken the |
@andir this correction method will do?
|
@Izorkin I once tried that too, and this gets the vm test to succeed, but as @grahamc mentioned, this is a terrible hack - we can't just ignore all duplicate keys errors on slave replication. |
@flokli @andir please check this variant
How to leave the parameter |
Interresting - this seems to work indeed! @Izorkin, can you explain why we should not pass /etc/my.cnf to |
@flokli need create new db without
I do not know how to fix it And need to add replication |
Normally this variant?
|
I also saw the log messages recommending to setup a relay-log, so this might be a good idea. Not so sure about the |
mysql-bin log causes replication conflict, since perhaps they are identical (sorry, bad english) |
No worries, thanks for your help!
But this should be then a bug upstream, shouldn't it? How come it was introduced by this PR?
|
Not running check mysqlReplication ( |
Let's continue discussion in #61671. Thanks! |
Motivation for this change
Change location configuration file to /etc/my.cnf
Required for normal works mysql utilities.
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)