nenes25 / prestashop_console

Prestashop Console Tools
Open Software License 3.0
48 stars 15 forks source link

Unable to use db:export with custom mysql port #241

Closed nenes25 closed 2 years ago

nenes25 commented 2 years ago

Describe the bug

The command use db:export with does not works when mysql use a custom port

PrestashopConsole Version

Your prestashopConsole version
All

Prestashop Version

All

Php Version

All

Additional context

This is because when using a custom port the DB_SERVER is defined in the following format hostname:host_port ex : localhost:3309 This variable is not parsed when passed to the mysqldump command.

nenes25 commented 2 years ago

The issue is fixed, and moreover i've add some new options --single-transaction and --no-tablespaces