Skip to content
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

arm64 support for docksal/mysql #26

Closed
Tracked by #1421
lmakarov opened this issue Nov 5, 2021 · 7 comments · Fixed by #28
Closed
Tracked by #1421

arm64 support for docksal/mysql #26

lmakarov opened this issue Nov 5, 2021 · 7 comments · Fixed by #28
Assignees

Comments

@lmakarov
Copy link
Member

lmakarov commented Nov 5, 2021

arm64 is not yet supported upstream for the official MySQL Docker image.
Upstream issue: docker-library/mysql#318

Other options to get MySQL on arm64:

@kutenai
Copy link

kutenai commented Nov 18, 2021

Why was this removed from ToDo??
I can't be the only person that is really needing this!!

Any update on when it might be added?

@lmakarov
Copy link
Member Author

docksal/service-mariadb#17 (in scope for the next release) will be a stopgap solution.

Upgrading Docksal's MariaDB images to support ARM can happen pretty soon (within a few days or weeks).

@kutenai
Copy link

kutenai commented Nov 19, 2021

That is great news. I'm actually using the MariaDDB image now, but it seems quite slow.. the mysql image did not work at all.. I've technically moved to an external MySQL database since even the mariaDB one is so slow (but functional).

As an "example" - importing out company database took 45minutes on a MySQL 5.7 image, but literally 4 or 5 hours on the MariaDB one. I'll be very interested in testing out the Arm64 version once released.

And - thanks for maintaining these!!!!

@froboy
Copy link

froboy commented Jan 10, 2022

@lmakarov is there anything to do here apart from waiting for the upstream? It seems... not to be progressing.

I'm working on a whole bunch of different projects now and it seems a little silly, but I've just added a global setting to override the db image on all my projects and it... works for now:

fin config set --global DB_IMAGE='docksal/mariadb:10.3-1.1'

jk that config only works in the project scope, so it looks like I'll be adding DB_IMAGE=... to docksal-local.env for all of my projects.

@froboy
Copy link

froboy commented Feb 15, 2022

Posting if this might help folks. I made a quick alias, so now when I spin up a new project I run maria before fin up.

alias maria="fin config set DB_IMAGE='docksal/mariadb:10.3-1.1' --env=local"

@froboy
Copy link

froboy commented Feb 15, 2022

Sharing DDEV's solution in case it's helpful to someone who's able to pick this up:

ddev/ddev#3317

@lmakarov
Copy link
Member Author

There is now an Oracle Linux based MySQL 8.0 image available upstream in https://hub.docker.com/_/mysql.

MySQL 5.7 arm64 won't be supported upstream (unless Oracle changes their mind and ships a MySQL 5.7 arm64 package for Debian).

I'm leaning towards dropping support for 5.7 and only supporting 8.0 for docksal/mysql. This will provide a consistent experience between platforms at the cost of retiring the older version prematurely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants