File tree Expand file tree Collapse file tree 1 file changed +48
-0
lines changed
Expand file tree Collapse file tree 1 file changed +48
-0
lines changed Original file line number Diff line number Diff line change @@ -167,6 +167,54 @@ Being installed as a system package, it can be updated using the command which u
167167sudo dnf upgrade -y
168168```
169169
170+ ## How do I upgrade MariaDB ?
171+
172+ Initially, MariaDB was at version 11.4 LTS.
173+ 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:
174+
175+ * Open the MariaDB.repo file in any text editor.
176+
177+ ``` shell
178+ sudo nano /etc/yum.repos.d/MariaDB.repo
179+ ```
180+
181+ * Modify the ** baseurl** variable to match the desired version, for instance ` 11.8 ` instead of ` 11.4 ` .
182+ * Clean dnf cache
183+
184+ ``` shell
185+ sudo dnf clean all
186+ ```
187+
188+ * Stop MariaDB
189+
190+ ``` shell
191+ sudo systemctl stop mariadb
192+ ```
193+
194+ * Upgrade MariaDB
195+
196+ ``` shell
197+ sudo dnf update -y
198+ ```
199+
200+ * Start MariaDB
201+
202+ ``` shell
203+ sudo systemctl start mariadb
204+ ```
205+
206+ * Upgrade databases
207+
208+ ``` shell
209+ sudo mariadb-upgrade -uroot -p
210+ ```
211+
212+ * Restart MariaDB
213+
214+ ``` shell
215+ sudo systemctl restart mariadb
216+ ```
217+
170218## How do I create command aliases?
171219
172220From either your terminal or file explorer, navigate to your home directory (` /home/<your-username>/ ` ).
You can’t perform that action at this time.
0 commit comments