Skip to content

Add option to use mariadb command instead of mysql if installed #179

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

derfryday
Copy link
Contributor

@derfryday derfryday commented Mar 12, 2025

I've recently gotten deprecation warnings on systems running MariaDB that the mysql commands are deprecated and that the MariaDB equivalent should be used instead.
While this doesn't stop pynonymizer from working yet, I think it's a good idea to account for the deprecation.

I've prepared this quick fix for it, but I think that it'd be better in the long run to let the user to set/overwrite the path to the client binary with an env var or cli argument. I'd be willing to assist with implementing this if you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant