File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change @@ -166,6 +166,45 @@ Being installed as a system package, it can be updated using the command which u
166166``` shell
167167sudo dnf upgrade -y
168168```
169+ ## How do I upgrade MariaDB ?
170+
171+ By default, MariaDB is at version 11.4 LTS.
172+ 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:
173+
174+ - Open the MariaDB.repo file in any text editor.
175+ ``` shell
176+ sudo nano /etc/yum.repos.d/MariaDB.repo
177+ ```
178+ - Modify the ** baseurl** variable to match the desired version, for instance ` 11.8 ` instead of ` 11.4 ` .
179+ - Clean dnf cache
180+ ``` shell
181+ sudo dnf clean all
182+ ```
183+
184+ - Stop MariaDB
185+ ``` shell
186+ sudo systemctl stop mariadb
187+ ```
188+
189+ - Upgrade MariaDB
190+ ``` shell
191+ sudo dnf update -y
192+ ```
193+
194+ - Start MariaDB
195+ ``` shell
196+ sudo systemctl start mariadb
197+ ```
198+
199+ - Upgrade databases
200+ ``` shell
201+ sudo mariadb-upgrade -uroot -p
202+ ```
203+
204+ - Restart MariaDB
205+ ``` shell
206+ sudo systemctl restart mariadb
207+ ```
169208
170209## How do I create command aliases?
171210
You can’t perform that action at this time.
0 commit comments