netz98 / n98-magerun2

The swiss army knife for Magento developers, sysadmins and devops. The tool provides a huge set of well tested command line commands which save hours of work time. All commands are extendable by a module API.
https://magerun.net
Other
874 stars 225 forks source link

Some mariadb client tools does not support ssl-mode option #1531

Closed cmuench closed 1 month ago

cmuench commented 1 month ago

Magerun pull-request check-list:

Summary: The client tools provided by MariaDB are not the same as the MySQL client tools. One difference is the missing mysqldump --ssl-mode parameter

Fixes #1526

Changes proposed in this pull request:

Added a check which calls mysqldump help and grep the output for --ssl-mode option. If the option does not exist, we do not add the option to the connection string used in the db:dump and db:import command.

github-actions[bot] commented 1 month ago

Download the artifacts for this pull request: