Skip to content

Dump mysql from docker container #189

@AxelPAL

Description

@AxelPAL

To dump from mysql in docker container you should run mysqldump command with argument --protocol=TCP. Example:
mysqldump --protocol=TCP -usomeUser -p db_name > db.sql
At your implementation (src/Cli/Executable/Mysqldump.php) you have no option protocol and because of this it is unable to use your tool when DB is run in docker container.
This case is useful when you want to make backups outside of your DB container.

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions