From a2fe5f1b719698d19cc0de7b9aa36481d40302f7 Mon Sep 17 00:00:00 2001 From: arhimede Date: Fri, 24 Oct 2025 15:39:29 +0300 Subject: [PATCH 1/6] Add upgrade instructions for MariaDB Added instructions for upgrading MariaDB to version 11.8 LTS. --- docs/book/v2/faq.md | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) diff --git a/docs/book/v2/faq.md b/docs/book/v2/faq.md index c509bb1..efe755c 100644 --- a/docs/book/v2/faq.md +++ b/docs/book/v2/faq.md @@ -166,6 +166,45 @@ Being installed as a system package, it can be updated using the command which u ```shell sudo dnf upgrade -y ``` +## How do I upgrade MariaDB ? + +By default, MariaDB is at version 11.4 LTS. +In case you want to upgrade to a different version, for instance [11.8 LTS](https://mariadb.org/11-8-is-lts/), use the below steps: + +- Open the MariaDB.repo file in any text editor. +```shell +sudo nano /etc/yum.repos.d/MariaDB.repo +``` +- Modify the **baseurl** variable to match the desired version, for instance `11.8` instead of `11.4`. +- Clean dnf cache +```shell +sudo dnf clean all +``` + +- Stop MariaDB +```shell +sudo systemctl stop mariadb +``` + +- Upgrade MariaDB +```shell +sudo dnf update -y +``` + +- Start MariaDB +```shell +sudo systemctl start mariadb +``` + +- Upgrade databases +```shell +sudo mariadb-upgrade -uroot -p +``` + +- Restart MariaDB +```shell +sudo systemctl restart mariadb +``` ## How do I create command aliases? From 116a1f73c4511885da86ad7dd5a014fe5d11db66 Mon Sep 17 00:00:00 2001 From: arhimede Date: Fri, 24 Oct 2025 15:43:06 +0300 Subject: [PATCH 2/6] Update FAQ with MariaDB upgrade instructions Added instructions for upgrading MariaDB to version 11.8 LTS. --- docs/book/v2/faq.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/book/v2/faq.md b/docs/book/v2/faq.md index efe755c..6154340 100644 --- a/docs/book/v2/faq.md +++ b/docs/book/v2/faq.md @@ -166,6 +166,7 @@ Being installed as a system package, it can be updated using the command which u ```shell sudo dnf upgrade -y ``` + ## How do I upgrade MariaDB ? By default, MariaDB is at version 11.4 LTS. @@ -175,6 +176,7 @@ In case you want to upgrade to a different version, for instance [11.8 LTS](http ```shell sudo nano /etc/yum.repos.d/MariaDB.repo ``` + - Modify the **baseurl** variable to match the desired version, for instance `11.8` instead of `11.4`. - Clean dnf cache ```shell From 42d0993e10176f6abac301b4e4e5610c3c3aef64 Mon Sep 17 00:00:00 2001 From: arhimede Date: Fri, 24 Oct 2025 15:46:54 +0300 Subject: [PATCH 3/6] Update faq.md --- docs/book/v2/faq.md | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/docs/book/v2/faq.md b/docs/book/v2/faq.md index 6154340..b061766 100644 --- a/docs/book/v2/faq.md +++ b/docs/book/v2/faq.md @@ -169,41 +169,47 @@ sudo dnf upgrade -y ## How do I upgrade MariaDB ? -By default, MariaDB is at version 11.4 LTS. +By default, MariaDB is at version 11.4 LTS. In case you want to upgrade to a different version, for instance [11.8 LTS](https://mariadb.org/11-8-is-lts/), use the below steps: -- Open the MariaDB.repo file in any text editor. +* Open the MariaDB.repo file in any text editor. +* ```shell sudo nano /etc/yum.repos.d/MariaDB.repo ``` -- Modify the **baseurl** variable to match the desired version, for instance `11.8` instead of `11.4`. -- Clean dnf cache +* Modify the **baseurl** variable to match the desired version, for instance `11.8` instead of `11.4`. +* Clean dnf cache + ```shell sudo dnf clean all ``` -- Stop MariaDB +* Stop MariaDB + ```shell sudo systemctl stop mariadb ``` -- Upgrade MariaDB +* Upgrade MariaDB ```shell sudo dnf update -y ``` -- Start MariaDB +* Start MariaDB + ```shell sudo systemctl start mariadb ``` -- Upgrade databases +* Upgrade databases + ```shell sudo mariadb-upgrade -uroot -p ``` -- Restart MariaDB +* Restart MariaDB + ```shell sudo systemctl restart mariadb ``` From df063db1be56252664253bff3642ecfc4e5e76ef Mon Sep 17 00:00:00 2001 From: arhimede Date: Fri, 24 Oct 2025 15:50:00 +0300 Subject: [PATCH 4/6] Update faq.md --- docs/book/v2/faq.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/book/v2/faq.md b/docs/book/v2/faq.md index b061766..d041063 100644 --- a/docs/book/v2/faq.md +++ b/docs/book/v2/faq.md @@ -173,12 +173,12 @@ By default, MariaDB is at version 11.4 LTS. In case you want to upgrade to a different version, for instance [11.8 LTS](https://mariadb.org/11-8-is-lts/), use the below steps: * Open the MariaDB.repo file in any text editor. -* + ```shell sudo nano /etc/yum.repos.d/MariaDB.repo ``` -* Modify the **baseurl** variable to match the desired version, for instance `11.8` instead of `11.4`. +* Modify the **baseurl** variable to match the desired version, for instance `11.8` instead of `11.4`. * Clean dnf cache ```shell @@ -192,6 +192,7 @@ sudo systemctl stop mariadb ``` * Upgrade MariaDB + ```shell sudo dnf update -y ``` From c544a8ea09be1575f025d7cef5b9f1e6564c148f Mon Sep 17 00:00:00 2001 From: arhimede Date: Fri, 24 Oct 2025 15:52:17 +0300 Subject: [PATCH 5/6] Update faq.md --- docs/book/v2/faq.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/book/v2/faq.md b/docs/book/v2/faq.md index d041063..e2cfa8c 100644 --- a/docs/book/v2/faq.md +++ b/docs/book/v2/faq.md @@ -173,7 +173,7 @@ By default, MariaDB is at version 11.4 LTS. In case you want to upgrade to a different version, for instance [11.8 LTS](https://mariadb.org/11-8-is-lts/), use the below steps: * Open the MariaDB.repo file in any text editor. - + ```shell sudo nano /etc/yum.repos.d/MariaDB.repo ``` From e99e79441bec02852cdc49ba4eedce1299dceeed Mon Sep 17 00:00:00 2001 From: arhimede Date: Fri, 24 Oct 2025 16:37:52 +0300 Subject: [PATCH 6/6] Update MariaDB upgrade instructions in FAQ Clarified the initial version of MariaDB in the FAQ. --- docs/book/v2/faq.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/book/v2/faq.md b/docs/book/v2/faq.md index e2cfa8c..4b884f5 100644 --- a/docs/book/v2/faq.md +++ b/docs/book/v2/faq.md @@ -169,7 +169,7 @@ sudo dnf upgrade -y ## How do I upgrade MariaDB ? -By default, MariaDB is at version 11.4 LTS. +Initially, MariaDB was at version 11.4 LTS. In case you want to upgrade to a different version, for instance [11.8 LTS](https://mariadb.org/11-8-is-lts/), use the below steps: * Open the MariaDB.repo file in any text editor.