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

MySQL sync directly in the docker container #96

Open
baschny opened this issue Aug 11, 2016 · 0 comments
Open

MySQL sync directly in the docker container #96

baschny opened this issue Aug 11, 2016 · 0 comments

Comments

@baschny
Copy link

baschny commented Aug 11, 2016

If I have an mysql docker container with my app + mysql, and want to sync from the external live server, why not use the container which already contains the tools required for that instead of requiring locally installed mysql binaries?

Instead of running:
mysql -h<docker-ip> -uroot -pdev

The tool would run:
docker-compose run --rm mysql mysql -hmysql -uroot -pdev

The sync tool already checks if there are docker containers around anyway (why??) so why not use them for robustness and isolation?

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

No branches or pull requests

1 participant