# Maria db update

**URL:** <https://forum.virtualmin.com/t/maria-db-update/130924>\
**Category:** Webmin\
**Created:** [December 5, 2024, 2:54pm UTC](https://forum.virtualmin.com/t/maria-db-update/130924 "2024-12-05T14:54:45Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![balero](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/b/f4b2a3/32.png) [@balero](https://forum.virtualmin.com/u/balero)\
**Post date:** [December 5, 2024, 2:54pm UTC](https://forum.virtualmin.com/t/maria-db-update/130924/1 "2024-12-05T14:54:45Z")

</div>

Hello! I can not update Joomla 5.2. Maria db 10.5 is required but apparently there’s no update for alma linux 8. Can you help with this?

---

<div class="post-metadata">

**Author:** ![ID10T](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/id10t/32/7895_2.png) [@ID10T](https://forum.virtualmin.com/u/ID10T)\
**Post date:** [December 5, 2024, 3:16pm UTC](https://forum.virtualmin.com/t/maria-db-update/130924/2 "2024-12-05T15:16:30Z")

</div>

Can you verify which version you are running with this command line?

```auto
root@main:~# mariadb -V
mariadb Ver 15.1 Distrib 10.5.26-MariaDB, for debian-linux-gnu (x86_64) using EditLine wrapper

```

 ![image](https://cdn.forum.virtualmin.com/uploads/default/original/3X/4/8/4864bb2c45d50a4d1188f1ec80723c5824803a39.png)

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [December 5, 2024, 4:32pm UTC](https://forum.virtualmin.com/t/maria-db-update/130924/3 "2024-12-05T16:32:51Z")

</div>

Mariadb is provided by your OS. So, this is an Alma Linux question, rather than a Webmin or Virtualmin question. That doesn’t mean you can’t ask here, but you may get a better informed answer asking the Alma community (or not, when I googled it, I saw a lot of people offering bad advice, like using the upstream package).

This exact question has been discussed several times. The most recent is here:[Upgrading MariaDB in Virtualmin](https://forum.virtualmin.com/t/upgrading-mariadb-in-virtualmin/130461/)

I recommend you _not_ install the upstream version, because it will be different from the OS-provided package and you get none of the guarantees you get from the OS package. The best option when you need newer software is usually to choose a newer OS. Alma 9 is relatively easy to upgrade to, and is likely only slightly more difficult than doing weird stuff with third-party Mariadb packages and will have fewer long-term negative consequences.

RHEL provides newer versions of Mariadb and some other packages in “streams”, and it may be that Alma has something similar, I’m not super familiar with what Alma does about extra newer packages, if anything. It looks like _maybe_ it also has streams from a brief forum search.

Try:

```auto
sudo dnf module list mariadb

```

You may or may not have the option to install a newer Mariadb version that way. Red Hat docs cover installing the stream version (if available on Alma 8, I don’t know that it is). [Chapter&nbsp;2.&nbsp;Using MariaDB | Red Hat Product Documentation](https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/configuring_and_using_database_servers/using-mariadb_configuring-and-using-database-servers#installing-mariadb_using-mariadb)

Everything I’m finding about streams is about Alma 9, though, so you may need to upgrade your OS to get newer options. In which case, you probably don’t need a stream version of Mariadb, since Alma/RHEL/Rocky 9 have 10.5.22 by default.

---

<div class="post-metadata">

**Author:** ![ID10T](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/id10t/32/7895_2.png) [@ID10T](https://forum.virtualmin.com/u/ID10T)\
**Post date:** [December 5, 2024, 5:28pm UTC](https://forum.virtualmin.com/t/maria-db-update/130924/4 "2024-12-05T17:28:21Z")

</div>

First thing is to figure out which Mariadb is required. 10.5 seems to be a useless metric here and a few minutes of search doesn’t find me the minimum version required.

Even the AI is stumped. 🤣

 ![image](https://cdn.forum.virtualmin.com/uploads/default/original/3X/7/c/7c538fb0d78ea3b2726037fa3fd92eef453735d1.png)  
Did finally see this in the search:  
 ![image](https://cdn.forum.virtualmin.com/uploads/default/original/3X/a/6/a6a98bea337ac0979dc64fd8a6870d1efbf9e079.png)

---

<div class="post-metadata">

**Author:** ![balero](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/b/f4b2a3/32.png) [@balero](https://forum.virtualmin.com/u/balero)\
**Post date:** [December 5, 2024, 8:53pm UTC](https://forum.virtualmin.com/t/maria-db-update/130924/5 "2024-12-05T20:53:56Z")

</div>

Hey thanks for you help! The version that is actually running is : mysql Ver 15.1 Distrib 10.3.39-MariaDB, for Linux (x86\_64) using readline 5.1.

---

<div class="post-metadata">

**Author:** ![ID10T](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/id10t/32/7895_2.png) [@ID10T](https://forum.virtualmin.com/u/ID10T)\
**Post date:** [December 5, 2024, 9:21pm UTC](https://forum.virtualmin.com/t/maria-db-update/130924/6 "2024-12-05T21:21:09Z")

</div>

MariaDB 10.3 is no longer maintained. Please use a more recent release.

> **[Changes & Improvements in MariaDB 10.3](https://mariadb.com/kb/en/changes-improvements-in-mariadb-10-3/)**
>
> Current Version: 10.3.39 | Status: Stable (GA) | Release Date: 10 May 2023

And Alma 8 has no update path? I think @joe is correct here then. You need to upgrade Alma.

---

<div class="post-metadata">

**Author:** ![Joe](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/joe/32/9_2.png) [@Joe](https://forum.virtualmin.com/u/Joe)\
**Post date:** [December 5, 2024, 9:28pm UTC](https://forum.virtualmin.com/t/maria-db-update/130924/7 "2024-12-05T21:28:19Z")

</div>

Don’t post misinformation.

The packages in an EL release of Linux is supported through the life of the release. Alma 8 is still a maintained release, thus all the packages in it are maintained, regardless of what upstream does. That’s the benefit of a long-life distribution like any of the ELs (RHEL, Rocky, Alma, etc.). Alma 8 continues to receive security updates until 2029.

One _should_ use a new OS if one wants new packages. Both things can be true. Alma 8 is maintained (at least for security updates) _and_ Alma 8 is old.

---

<div class="post-metadata">

**Author:** ![ID10T](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/id10t/32/7895_2.png) [@ID10T](https://forum.virtualmin.com/u/ID10T)\
**Post date:** [December 5, 2024, 9:41pm UTC](https://forum.virtualmin.com/t/maria-db-update/130924/8 "2024-12-05T21:41:22Z")

</div>

I thought it was clear I was quoting from the linked article. I was only trying to reinforce the Alma upgrade path. He needs something that Alma 8 won’t deliver.

I guess I’m used to Debian backports which let you pull in the newer rather painlessly.

---

<div class="post-metadata">

**Author:** ![verne](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/v/dbc845/32.png) [@verne](https://forum.virtualmin.com/u/verne)\
**Post date:** [December 5, 2024, 10:26pm UTC](https://forum.virtualmin.com/t/maria-db-update/130924/9 "2024-12-05T22:26:19Z")

</div>

From Joe’s idea — my server is:

```auto
cat /etc/redhat-release
AlmaLinux release 8.9 (Midnight Oncilla)

```

and I can see:

```auto
yum module list mariadb
Last metadata expiration check: 3:24:19 ago on Thu 05 Dec 2024 01:57:35 PM EST.
AlmaLinux 8 - AppStream
Name Stream Profiles Summary
mariadb 10.3 [d] client, galera, server [d] MariaDB Module
mariadb 10.5 client, galera, server [d] MariaDB Module
mariadb 10.11 client, galera, server [d] MariaDB Module

```

(sorry about the coloring and bolding)

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [February 3, 2025, 10:26pm UTC](https://forum.virtualmin.com/t/maria-db-update/130924/10 "2025-02-03T22:26:43Z")

</div>

Closed on February 3, 2025, 10:26pm UTC

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
