-
Notifications
You must be signed in to change notification settings - Fork 155
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
Issue related to connecting with MySQL database once docker is up #3
Comments
Have you set up the env variable for DATABASE_URL in your .env.local file inside symfony folder?
|
I got it to work by adding a ...
services:
db:
container_name: mysql_container
image: mysql:8.0.23
platform: linux/x86_66
... Then use the container name as domain name:
|
Hi,
Once the docker is up all the three containers are running and when I tried to connect with MySQL database. I couldn't connect with symfony framework..Kindly help me on this to proceed further.
The text was updated successfully, but these errors were encountered: