Description:
Hello,
The mysql-community.repo update pushed today appears to silently disable the currently enabled version in the repo file, and enable the newly released 9.7 LTS. For example an AlmaLinux 9.7 server:
[root@satori ~]# yum update
Last metadata expiration check: 0:02:02 ago on Tue 21 Apr 2026 09:39:04 PM EDT.
Dependencies resolved.
==================================================================================================================================================================================================================
Package Architecture Version Repository Size
==================================================================================================================================================================================================================
Upgrading:
mysql84-community-release noarch el9-4 mysql-8.4-lts-community 14 k
Transaction Summary
==================================================================================================================================================================================================================
Upgrade 1 Package
Total download size: 14 k
Is this ok [y/N]: y
Downloading Packages:
mysql84-community-release-el9-4.noarch.rpm 463 kB/s | 14 kB 00:00
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 416 kB/s | 14 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Upgrading : mysql84-community-release-el9-4.noarch 1/2
Running scriptlet: mysql84-community-release-el9-4.noarch 1/2
Cleanup : mysql84-community-release-el9-3.noarch 2/2
Verifying : mysql84-community-release-el9-4.noarch 1/2
Verifying : mysql84-community-release-el9-3.noarch 2/2
Upgraded:
mysql84-community-release-el9-4.noarch
Complete!
[root@satori ~]# yum update
MySQL 9.7 LTS Community Server 3.2 MB/s | 230 kB 00:00
MySQL Tools 9.7 LTS Community 2.9 MB/s | 151 kB 00:00
Dependencies resolved.
==================================================================================================================================================================================================================
Package Architecture Version Repository Size
==================================================================================================================================================================================================================
Upgrading:
mysql-community-client x86_64 9.7.0-1.el9 mysql-9.7-lts-community 3.8 M
mysql-community-client-plugins x86_64 9.7.0-1.el9 mysql-9.7-lts-community 1.5 M
mysql-community-common x86_64 9.7.0-1.el9 mysql-9.7-lts-community 607 k
mysql-community-devel x86_64 9.7.0-1.el9 mysql-9.7-lts-community 7.8 M
mysql-community-icu-data-files x86_64 9.7.0-1.el9 mysql-9.7-lts-community 2.3 M
mysql-community-libs x86_64 9.7.0-1.el9 mysql-9.7-lts-community 1.5 M
mysql-community-server x86_64 9.7.0-1.el9 mysql-9.7-lts-community 56 M
Transaction Summary
==================================================================================================================================================================================================================
Upgrade 7 Packages
Total download size: 73 M
Is this ok [y/N]: n
Operation aborted.
I've reproduced this on an el8 server as well.
If this is not caught, and then the new repo file fixed to disable 9.7 and enable the version you're actually on, or the update happens via automation, it might be a bad time, MySQL will be upgraded to 9.7 in-place.
How to repeat:
Update mysql84-community-release el9-3 to el9-4, observe the repo file now has 8.4 repos disabled, and 9.7 repos enabled.
Suggested fix:
Retain mysql-community.repo file enabled= settings, do not silently disable the currently installed version repo and enable 9.7.