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 server not found #8

Open
romanWienicke opened this issue Feb 17, 2022 · 2 comments
Open

mysql server not found #8

romanWienicke opened this issue Feb 17, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@romanWienicke
Copy link

Thanks for the containers, using them makes live easier.

I came arount this issue:

running the dockware images with docker compose and executing
#: make pull
fails because the host mysql is unknown and there is no user app in mysql

the missing host mysql can be fixed adding the following lines to docker-compose.yaml

services:
shopware:
...
networks:
web:
aliases:
- mysql

(this adds the host mysql to 127.0.0.1)

after adding the mysql user app make pull works fine.

maybe this can be added to the docs.

best,
Roman

@boxblinkracer
Copy link
Contributor

Hi Roman

thank you for this and your kind words

is that the make pull in the contribution?
https://github.com/dockware/dockware/blob/master/.dist/versions/master/contribute/latest/assets/scripts/makefile

totally makes sense, seems the connection string now points to "mysql" right?

thank you for your help

@boxblinkracer boxblinkracer added the bug Something isn't working label Feb 17, 2022
@romanWienicke
Copy link
Author

romanWienicke commented Feb 17, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants