# docker-library/mysql

Docker Official Image packaging for MySQL Community Server

Repository: https://github.com/docker-library/mysql
Canonical: https://ross.abutalabs.com/products/docker-library-mysql
Homepage: https://dev.mysql.com/
Language: Shell
License: GPL-2.0
License Family: copyleft
Last push: 2026-08-19T09:20:58+00:00

## Health v2 (maintenance only)
Score: 76/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 35, longevity 100
- inputs: {"age_days": 4486, "days_push": 14, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2588, forks 2218 (observed 2026-08-28T04:07:02.774508+00:00)

## What it is
The Docker Official Image packaging repository for MySQL Community Server, containing the Dockerfiles and build scripts that produce the `mysql` images on Docker Hub. It is maintained by the Docker Community and the MySQL Team.

## Use cases
- run a mysql database in a docker container
- spin up a local mysql server for development
- deploy mysql as part of a docker compose stack
- get an official trusted mysql container image
- set up mysql for integration tests in CI
- self-host a mysql database server

## When to choose
- you need a quick, trusted, pre-built MySQL container image
- you want a standard way to run MySQL in Docker for dev, test, or production
- you want environment-variable-based MySQL configuration in containers

## When to avoid
- you need MySQL features or builds only available from Oracle's upstream images
- you want a different database engine like PostgreSQL or MariaDB
- you need to build MySQL from source with custom patches

## Facets
- artifact type: infra-config
- maturity: stable
- function: database, container-runtime, self-hosted
- domain: databases, self-hosted
- platform: cross-platform
- tags: docker-official-image, mysql, database-image, containerization, devops, containers, docker, linux

## Member repositories
- docker-library/mysql (main) score 76

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:02.774508+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:22:23.439694+00:00, confidence not recorded.
  - readme: https://github.com/docker-library/mysql (fetched 2026-08-28T04:07:02.774508+00:00, sha fc05352ee665)
- Data as of 2026-08-30T08:39:29.467469+00:00.
