This repository provides a .spec file and (optionally) an SRPM for building MySQL 5.7 on AlmaLinux 8.
NOTE:
- The RPM binary itself is NOT distributed due to Oracle’s license.
 - Please download the official source tarball or SRPM from MySQL Downloads.
 - If a prebuilt SRPM is available, you can also download it from an external link (e.g., Google Drive).
 - To build RPMs:
- Install required build dependencies (
dnf builddep mysql.specor see documentation). - Use the provided 
.specor SRPM to rebuild for your environment. 
 - Install required build dependencies (
 
- Verified to work on AlmaLinux 8.
 - Custom patches/adjustments for compatibility (if needed).
 - MySQL 5.7 is End-of-Life and not supported by Oracle. Use at your own risk.
 
# Using the SRPM:
rpmbuild --rebuild mysql-community-5.7.44-1.el8.src.rpm
# Or, using the spec file (after extracting the source):
rpmbuild -ba mysql.spec