-
-
Notifications
You must be signed in to change notification settings - Fork 93
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
Step 4 doesn't work Error: Cannot enqueue Query after fatal error.
#7
Comments
I modified the docker-compose file as follows.
I added the command for sleep 10 seconds to wait for the mysql database start up. And also I need to add the container_name, otherwise the mysql container cannot be linked to the users-service properly. Cheers |
Thanks. Works! So I assume the problem was that user-service starts before the db had actually finished? I also notice you removed I'll close the issue |
Hi
Really good tutorial, but sadly I can't get the final step with docker-composer to work.
I've also tried pulling your repo and running that but I seem to get the same error from the
users-service
It works if I run each container separately.
I also ran into this issue in step 2 if it matters: #4 . I don't know how to fix it in docker-file though as I don't know where to put the
sleep
Any help would be fantastic.
Cheers
I'm on a macbook air using Docker for Mac
The text was updated successfully, but these errors were encountered: