-
Notifications
You must be signed in to change notification settings - Fork 63
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
Can't Connect to MySQL Using Docker #114
Comments
Make sure this environment variable is set in the app container: |
Hello, My .env has
So, also having the same error. |
Hi @mr-sk. This is a separate thing, as in your case the app has connected to the db instance but then that connection breaks, while @asithade's app container is not connecting to the db server at all. If you're having problems can you open a separate issue? Be sure to include the app container's output as well around the time of the error. Thanks, |
Hi there, I actually get the same error as him when I set it to db. |
That line will pop up occasionally during a normal boot of the app. Closing this issue for now, but please open another one if you have other problems. |
Been trying to figure out what's going on but when I try to setup the site using
sudo docker-compose up --build
it goes through fine all the way until here:I've tested the username and password and it connects to MySQL fine. Prior to that, the db_1 looks like it was able to connect to MySQL too.
Is there something I'm missing here?
The text was updated successfully, but these errors were encountered: