pynonymizer
pynonymizer copied to clipboard
How to get PYNONYMIZER_MYSQL_CMD_OPTS to work with socket ?
Describe the bug
With version 1.25 the following command worked
pynonymizer \
--db-type mysql \
--db-host localhost \
--db-user root \
--db-name open_data \
--strategy /var/lib/mysql_instances/open-data-33019/anonymize/20.0.0/open-data-strategy.yml \
--mysql-cmd-opts="--socket=/some/path/to/var/run/mysqld/mysqld.sock" \
--only-step ANONYMIZE_DB
with 2.4.0 this is not possible anymore.
How to connect to mysql socket?
Expected behavior mysql cmd opts should be first handled.