pynonymizer icon indicating copy to clipboard operation
pynonymizer copied to clipboard

How to get PYNONYMIZER_MYSQL_CMD_OPTS to work with socket ?

Open flybyray opened this issue 1 year ago • 0 comments

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.

flybyray avatar Aug 09 '24 14:08 flybyray