MySQL image release lines 8.0 and older are past end-of-life
End of life as of 2026-04-21. Replacement: A mysql image on a supported release such as the 8.4 LTS line. Source: MySQL end-of-life notice.
Check a version:
evergreen check pkg:docker/library/mysql
Oracle lists MySQL 8.0 and 5.7 as covered only by Sustaining Support, which means no new fixes. The mysql.com end-of-life notice refuses automated requests (HTTP 403), so it can only be reviewed by hand.
Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>
| Status | End of life |
| Severity | high |
| Ecosystem | container |
| Component | pkg:docker/library/mysql |
| Affected versions | vers:semver/<8.1.0 |
| Date from the source | 2026-04-21 |
| Replacement | A mysql image on a supported release such as the 8.4 LTS line |
| Evidence last seen | 2026-11-07 |
| Reviewed | 2026-11-07 by arminazimi |
| Review due | 2027-11-07 (365 days after the last review) |
| Rule ID | container.mysql.eol-8.0-and-older |
Sources
- MySQL end-of-life notice (accessed 2026-11-07)
Migration
Constraints
- A new MySQL release line can need a data directory upgrade; read the upgrade notes and take a backup before starting the new image on existing data.
- Check SQL modes, authentication plugins, and client libraries against the target release.
Steps
- Update the base image. Change the reported FROM line or Compose image to a tag on a supported release line, and pin it to a digest if your policy requires.
- Align other image references. Update other Dockerfiles, Compose files, CI service containers, and deployment manifests that use the same image so they agree.
Verification
docker compose config: Validate the Compose file after changing the image tag.docker compose run --rm db mysqld --version: Confirm the database container runs the intended release (service name may differ).
Detected by
The container detector. See Detectors and Compatibility.
Related
Same ecosystem
- Alpine Linux image release lines 3.20 and older are end-of-life
- Alpine Linux image release line 3.21 is end-of-life
- Caddy image release lines 1 and older are end-of-life
- ClickHouse image release lines 26.2 and older are end-of-life
- Couchbase Server image release lines 7.2 and older are end-of-life
- Apache CouchDB image release lines 3.3 and older are end-of-life
- Debian image release lines 11 and older are end-of-life
- The Dockerfile legacy “ENV key value” form is deprecated
Data
This page is generated from registry/container.json, rule container.mysql.eol-8.0-and-older, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.
Last updated