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

Comments

Projects
None yet
2 participants
@AxelPAL
Copy link
Contributor

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

This comment has been minimized.

Copy link
Owner

commented Jun 27, 2019

Sure, will get right on it

sebastianfeldmann added a commit that referenced this issue Jun 28, 2019

sebastianfeldmann added a commit that referenced this issue Jun 28, 2019

@sebastianfeldmann

This comment has been minimized.

Copy link
Owner

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
You can’t perform that action at this time.