Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dump mysql from docker container #189

Closed
AxelPAL opened this issue Jun 27, 2019 · 2 comments
Closed

Dump mysql from docker container #189

AxelPAL opened this issue Jun 27, 2019 · 2 comments
Assignees

Comments

@AxelPAL
Copy link
Contributor

@AxelPAL AxelPAL commented Jun 27, 2019

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.

@sebastianfeldmann
Copy link
Owner

@sebastianfeldmann sebastianfeldmann commented Jun 27, 2019

Sure, will get right on it

@sebastianfeldmann
Copy link
Owner

@sebastianfeldmann sebastianfeldmann commented Jun 28, 2019

I tagged version 5.2.6 with the new Mysqldump feature.
You are now able to specify the protocol option in your configuration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants