-
Notifications
You must be signed in to change notification settings - Fork 17
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
[Discussion] Change database to mariadb #54
Comments
EDIT: Did not read the warning on the docker page.
So Maria DB is a good option. |
For reference, this is the issue regarding arm64 support for the official I do not have any experience with using |
The only problem I see we are not official testing against mariadb and we recommend mysql in our docs and a comming guide. Does somebody know the inpact of the Addition: Think the problems here is in docker itself as Apple M1 is ARM but supports also x86_64 over its emulation layer, docker should fallback to the x86_64 if the ARM is not available, the platform flag seems to force that it will use the x86_64 image which Apple M1 does support. From the official docker docs: https://docs.docker.com/docker-for-mac/apple-m1/ they recommend |
@TheCadien can you try this by adding the mysql:
platform: linux/x86_64
image: mysql:8.0.19
... |
@mfehr94 It basically looks like it will work, I can definitely create a Docker container with it and access it. `In AbstractMySQLDriver.php line 115: An exception occurred in driver: SQLSTATE[HY000] [2006] MySQL server has gone away` And like @alexander-schranz i'm not really sure what the plattform tag is. |
At this time the mysql image does not support ARM processors. Or in other words, it does not work on the new M1 from Apple .
I tested the set up on an M1 once with Maria DB.
With Maria DB it works and seems to run the same way as with mysql.
So what do you think about changing the setup from mysql to maria db for supporting the ARM stack with no disadvantage for other machines.
Proposed solution
The text was updated successfully, but these errors were encountered: