Skip to content

MySQL sync directly in the docker container #96

Description

@baschny

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions