Skip to content

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

Open
derfryday wants to merge 2 commits into
rwnx:mainfrom
derfryday:feat/check_for_mariadb_and_use_if_available_instead_of_mysql
Open

Add option to use mariadb command instead of mysql if installed#179
derfryday wants to merge 2 commits into
rwnx:mainfrom
derfryday:feat/check_for_mariadb_and_use_if_available_instead_of_mysql

Conversation

@derfryday

@derfryday derfryday commented Mar 12, 2025

Copy link
Copy Markdown
Contributor

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