-
-
Notifications
You must be signed in to change notification settings - Fork 767
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
Cannot create MySQL database #650
Labels
Comments
Commenting this block fixes the issue on my side: https://github.com/dunglas/symfony-docker/blob/main/frankenphp/docker-entrypoint.sh#L33-L37 It looks like Doctrine returns a 255 status code when failing to connect to MySQL. It's not the case for Postgres. Maybe should we tweak or comment this check? Context: #110 |
maxhelias
added
support
Support requested
bug
and removed
support
Support requested
labels
Aug 7, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi everyone!
I'm on a Macbook Air M2 2022 and i'm trying to create the database with MySQL instead of PostgreSQL, but when i run:
I get:
And sometimes this:
If i run:
i get:
These are my edits from PostgreSQL, I followed the guide of this project obviously: Using MySQL
Dockerfile
i added this line:RUN install-php-extensions pdo_mysql
In
compose.yaml
In
compose.override.yaml
:and the
.env
file:What can i do to fix this? I seem to be configuring everything correctly.
Thanks in advance!
The text was updated successfully, but these errors were encountered: