MySQL Installation Guides
Choose an installation guide by operating system and MySQL release. MySQL package availability and platform support change over time; check the current MySQL supported-platform matrix and your operating-system lifecycle before installing.
MySQL 9.7 and 8.4 are LTS releases. MySQL 26.7 is an Innovation release with a faster change cycle; see Oracle’s release model before choosing a track.
Upgrading an existing MySQL server
These pages install a server and do not by themselves migrate an existing data directory. For MySQL 8.4 to 9.7 LTS, follow the 8.4-to-9.7 upgrade guide. For MySQL 8.0 to 9.7, use the supported two-step path: upgrade 8.0 to 8.4, then follow the 8.4-to-9.7 guide. If you are already on 9.7 LTS and choose the Innovation track, see the Debian 13 upgrade guide to MySQL 26.7.
MySQL 9.7 LTS
- Debian 13
- Fedora 44
- Ubuntu 22.04
- Ubuntu 24.04
- Ubuntu 26.04
- Windows
- macOS with Homebrew on Apple Silicon
MySQL Innovation
MySQL 8.4 LTS
- Debian 12
- Ubuntu 22.04
- Fedora
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Oracle Linux 8
- Oracle Linux 9
- Rocky Linux 8
- Rocky Linux 9
- CentOS Stream 9
- FreeBSD
Legacy system guides
These pages document older systems or MySQL series. Use them only when maintaining an existing installation with an appropriate operating-system and database support plan; they are not recommendations for a new production server.
- Debian 10 with MySQL 8.0
- Debian 11 with MySQL 8.4
- Ubuntu 18.04 with MySQL 8.0
- Ubuntu 20.04 with MySQL 8.0
- CentOS Linux 7 with MySQL 8.0
- CentOS Linux 8 with MySQL 8.0
- CentOS Stream 8 with MySQL 8.0
- Oracle Linux 7 with MySQL 8.0
- openSUSE Leap 15.0 with MySQL 8.0
MySQL 8.0 reached end of life in April 2026. See the MySQL 8.0 release notes before planning an upgrade from an existing installation.
For MySQL 8.0 upgrade planning, use the two-step path above; do not treat a legacy OS installation procedure as a new production deployment recommendation.