Skip to content

How to get PYNONYMIZER_MYSQL_CMD_OPTS to work with socket ? #172

@flybyray

Description

@flybyray

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions