Bug #120792 No mysql97-community-release RPM to enable upgrading from 8.4
Submitted: 26 Jun 18:00 Modified: 26 Jun 18:20
Reporter: Simon Mudd (OCA) Email Updates:
Status: Open Impact on me:
None 
Category:MySQL Package Repos Severity:S3 (Non-critical)
Version:9.7 LTS OS:Oracle Linux (OL10)
Assigned to: CPU Architecture:x86
Tags: 9.7 LTS, repo, rpm, yum

[26 Jun 18:00] Simon Mudd
Description:
MySQL 9.7 LTS is your latest stable release:

https://dev.mysql.com/downloads/repo/yum/ only shows MySQL 8.4 yum repo package configuration rpm intended to allow people to install and easily keep up to date  their packages.

No 9.7 LTS rpm rpm is made available.

How to repeat:
Look for the 9.7 LTS repo rpm setup package. It appears to be missing.

Suggested fix:
Provide 9.7 LTS equivalent rpms, so the repo configuration will allow downloading and installing 9.7 versions, and potentially older versions.

I prefer to let yum download and install as needed rather than manually downloading mysql-9.7.1-1.el10.x86_64.rpm-bundle.tar from https://dev.mysql.com/downloads/mysql/ where 9.7 LTS is the default option offered.
[26 Jun 18:11] Simon Mudd
I currently have this installed:

mysql84-community-release-el10-2.noarch
mysql-community-common-8.4.10-1.el10.x86_64
mysql-community-client-plugins-8.4.10-1.el10.x86_64
mysql-community-libs-8.4.10-1.el10.x86_64
mysql-community-client-8.4.10-1.el10.x86_64
mysql-community-icu-data-files-8.4.10-1.el10.x86_64
mysql-community-server-8.4.10-1.el10.x86_64

so am looking for a mysql97-community-release-el10-X.noarch package which once installed should allow me to do a yum upgrade and pull in 9.7.

This seems related to bug#120315 which was auto-upgrading to 9.7 "without asking". I agree that's not appropriate.  However, if I do want to upgrade then I'd expect mysql97-community-release package to be available and usable.

I have the latest mysql84-community-release rpm, but do not seem to be able to move forward.
[26 Jun 18:12] Simon Mudd
Adjust synopsis
[26 Jun 18:20] Simon Mudd
This patch seems to be enough

# cd /etc/yum.repos.d
# diff -u mysql-community.repo.84 mysql-community.repo
--- mysql-community.repo.84	2026-06-26 20:13:39.966205253 +0200
+++ mysql-community.repo	2026-06-26 20:15:18.425628177 +0200
@@ -5,9 +5,23 @@
 gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2025
 
+[mysql-9.7-lts-community]
+name=MySQL 9.7 LTS Community Server
+baseurl=https://repo.mysql.com/yum/mysql-9.7-community/el/$releasever/$basearch/
+enabled=1
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2025
+
 [mysql-8.4-lts-community]
 name=MySQL 8.4 LTS Community Server
 baseurl=https://repo.mysql.com/yum/mysql-8.4-community/el/$releasever/$basearch/
+enabled=0
+gpgcheck=1
+gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2025
+
+[mysql-tools-9.7-lts-community]
+name=MySQL Tools 9.7 LTS Community
+baseurl=https://repo.mysql.com/yum/mysql-tools-9.7-community/el/$releasever/$basearch/
 enabled=1
 gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2025
@@ -15,7 +29,7 @@
 [mysql-tools-8.4-lts-community]
 name=MySQL Tools 8.4 LTS Community
 baseurl=https://repo.mysql.com/yum/mysql-tools-8.4-community/el/$releasever/$basearch/
-enabled=1
+enabled=0
 gpgcheck=1
 gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-mysql-2025
 

yum upgrade mysql-community-server will download and upgrade 

Downloading Packages:
(1/3): mysql-community-common-9.7.1-1.el10.x86_64.rpm              4.5 MB/s | 641 kB     00:00    
(2/3): mysql-community-icu-data-files-9.7.1-1.el10.x86_64.rpm      8.8 MB/s | 2.3 MB     00:00    
(3/3): mysql-community-server-9.7.1-1.el10.x86_64.rpm               13 MB/s |  56 MB     00:04

The other packages can be updated afterwards.