File tree Expand file tree Collapse file tree 1 file changed +15
-9
lines changed
Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -169,41 +169,47 @@ sudo dnf upgrade -y
169169
170170## How do I upgrade MariaDB ?
171171
172- By default, MariaDB is at version 11.4 LTS.
172+ By default, MariaDB is at version 11.4 LTS.
173173In 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:
174174
175- - Open the MariaDB.repo file in any text editor.
175+ * Open the MariaDB.repo file in any text editor.
176+ *
176177``` shell
177178sudo nano /etc/yum.repos.d/MariaDB.repo
178179```
179180
180- - Modify the ** baseurl** variable to match the desired version, for instance ` 11.8 ` instead of ` 11.4 ` .
181- - Clean dnf cache
181+ * Modify the ** baseurl** variable to match the desired version, for instance ` 11.8 ` instead of ` 11.4 ` .
182+ * Clean dnf cache
183+
182184``` shell
183185sudo dnf clean all
184186```
185187
186- - Stop MariaDB
188+ * Stop MariaDB
189+
187190``` shell
188191sudo systemctl stop mariadb
189192```
190193
191- - Upgrade MariaDB
194+ * Upgrade MariaDB
192195``` shell
193196sudo dnf update -y
194197```
195198
196- - Start MariaDB
199+ * Start MariaDB
200+
197201``` shell
198202sudo systemctl start mariadb
199203```
200204
201- - Upgrade databases
205+ * Upgrade databases
206+
202207``` shell
203208sudo mariadb-upgrade -uroot -p
204209```
205210
206- - Restart MariaDB
211+ * Restart MariaDB
212+
207213``` shell
208214sudo systemctl restart mariadb
209215```
You can’t perform that action at this time.
0 commit comments