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

DB connect via HeidiSQL #88

Open
migoth opened this issue Jan 18, 2018 · 3 comments
Open

DB connect via HeidiSQL #88

migoth opened this issue Jan 18, 2018 · 3 comments
Labels

Comments

@migoth
Copy link

migoth commented Jan 18, 2018

Is it possible to connect to db via HeidiSQL from Windows?

@maxpou
Copy link
Owner

maxpou commented Jan 28, 2018

Hi,
You should try this: docker-library/mysql#274

@PyRowMan
Copy link

Or you can add a shared port to the db config in the docker-compose.yml

db:
        image: mysql:latest
        volumes:
            - "./.data/db:/var/lib/mysql"
        environment:
            MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
            MYSQL_DATABASE: ${MYSQL_DATABASE}
            MYSQL_USER: ${MYSQL_USER}
            MYSQL_PASSWORD: ${MYSQL_PASSWORD}
        ports:
            - 3306:3306

@maxpou
Copy link
Owner

maxpou commented Jan 31, 2018

Indeed @PyRowMan idea looks better than mine!
See: https://docs.docker.com/compose/compose-file/#ports

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

No branches or pull requests

3 participants