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

Mysql 5.7 on M1 #230

Closed
benfes opened this issue Oct 6, 2022 · 2 comments
Closed

Mysql 5.7 on M1 #230

benfes opened this issue Oct 6, 2022 · 2 comments
Assignees
Labels
bug Something isn't working MacOS MySQL

Comments

@benfes
Copy link

benfes commented Oct 6, 2022

The mysql 5.7 image does not work on m1 macs. (mysql 8.0 works fine)

To get around this you can force the platform on the container definition in mysql.yml to be amd64 running on linux (platform: linux/x86_64). Bit of a hack but it works:

  mysql:
    platform: linux/x86_64
    image: mysql:5.7
    container_name: totara_mysql57
    ports:
@derschatta
Copy link
Member

derschatta commented Aug 31, 2023

@benfes could you give https://hub.docker.com/r/biarms/mysql a try? It does not have the very latest version but it's an arm build

For example:

file /custom/mysql.yml:

version: "3.7"
services:

  mysql:
    image: biarms/mysql:5.7.30

@derschatta
Copy link
Member

Done in #248 which will be part of next release. Closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working MacOS MySQL
Projects
None yet
Development

No branches or pull requests

2 participants