I'm currently running MariaDB version 10.3.28 on CentOS 8 Stream, and I'm looking to perform a minor upgrade to version 10.3.29 to utilize the updated st_distance_sphere function and spatial index features. I attempted to upgrade using the command `dnf update maria*`, but it indicated that there was nothing to do. Additionally, I tried setting up the MariaDB repository using their script, but it conflicts with the system repositories. I even searched for an RPM package but couldn't find one. Is there an easier way to accomplish this upgrade? Thanks for your help!
4 Answers
One way is to run a Docker service with your existing data directory. You'll need to stop and disable the current MariaDB service first.
I found MariaDB RPMs available at the archive. Try adding this repo: `https://archive.mariadb.org/yum/10.3.29/centos/8/`, then you can install version 10.3.29 based on your CPU architecture.
Using Docker is a solid alternative. You can run MariaDB in a Docker container without modifying your current installation. It lets you keep your existing data directory separated and is a good way to manage different versions.
You might want to consider upgrading to CentOS Stream 9 since Stream 8 is no longer supported. It could help in getting the latest packages without issues.
If sticking to a major version is important, you could look into RHEL 8.10, which may support your desired MariaDB version.

Or you could try using Podman if you're looking for container management without Docker.