Skip to content

mysql

MySQL Docker images rebuilt for ARM boards like the Raspberry Pi, plus x86_64

Copyleft (OSI) · GPL-2.0

Listed by , founder & editor

11

Health

Dormant

Overview

Stars

170

Last commit

7 years ago

May 2020

Repository age

8 years

since Jan 2018

Latest version

v5.7.30-0.0.1

May 2020

Contributors

–

Releases

0

last 12 months

Docker pulls

2.3M

biarms/mysql

Language

Makefile

This project is a fork of the Docker official image for MySQL. It exists to add ARM builds (arm32v6, arm32v7, arm64v8) that the official image did not offer when the fork was made. It is built on official base images and keeps the same entry-point behavior, including the MYSQL_ROOT_PASSWORD_FILE option that helps with Docker Swarm.

Because it mimics the official image, the official MySQL image documentation applies to it. The tags are moving targets. The biarms/mysql:5 tag gives MySQL 5.5.60 on 32-bit ARM devices and 5.7.30 on arm64 and x86_64. The 5.7 and 5.7.30 tags have no arm32v6 build, so they will not run on a Raspberry Pi Zero or Pi 1.

The last commit was in May 2020, and the latest version is v5.7.30-0.0.1. It is a way to run a MySQL server in a container on small ARM hardware. It is not tied to a specific commercial product.

Who it's for

Raspberry Pi and home-lab hobbyists

You get a MySQL container that runs on Pi models from 2 through 4 in 32-bit or 64-bit mode.

Skip if: You run a current ARM64 system and want a supported, recent MySQL release.

Docker Swarm users on mixed ARM and x86 nodes

One tag pulls the right architecture, and the root password can come from a file.

Skip if: You need the same MySQL version on every node, since 32-bit ARM gets 5.5 on the 5 tag.

The problem it solves

The official MySQL Docker image did not ship ARM builds, so it would not run on boards like the Raspberry Pi. This fork gives you a drop-in image for those devices.

Strengths

  • Builds for arm32v6, arm32v7, arm64v8 and amd64
  • Same entry-point behavior as the official image
  • Supports MYSQL_ROOT_PASSWORD_FILE for Docker Swarm
  • GPL-2.0 licensed, with over 2.3 million Docker pulls

Trade-offs

  • No commits since May 2020; MySQL 5.7.30 is the newest version
  • The 5 tag gives different MySQL versions on different devices
  • No arm32v6 image for 5.7 releases
  • No contributors in the last 90 days

Self-host mysql

Self-hostable
Yes
Docker image
biarms/mysql

Quick start

$ docker pull biarms/mysql:5 # should get a working images on any arm device from v6 to v8, but also on x86_64 server

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is it free to use?

Yes. It is licensed under GPL-2.0 and runs as a Docker image you host yourself.

Which platforms does it support?

The 5 tag covers linux/arm/v6, linux/amd64 and linux/arm64. The 5.7 tags cover amd64, arm/v7 and arm64.

Which MySQL version do I get?

On the 5 tag you get 5.5.60 on 32-bit ARM and 5.7.30 on arm64 and x86_64.

Does it work on a Raspberry Pi Zero?

Only with the 5.5 line. The 5.7 images have no arm32v6 build.

Similar tools in Relational databases

CloudBeaver

Relational databases

Self-hosted web database client for teams that want SQL access in a browser

5.2k 579 today Active Apache-2.0

autobase

Relational databases

Ansible-based automation for highly available PostgreSQL clusters on your own servers

4.5k 616 today Thriving MIT

OmniDB

Relational databases

Web-based database client for running queries and managing several database engines

3.3k 478 6 years ago Dormant MIT

Bobby

Relational databases

111 6 5 days ago Thriving GPL-3.0

Codd

Relational databases

103 5 17 days ago Active AGPL-3.0