Skip to content

Commit 42d0993

Browse files
authored
Update faq.md
1 parent 116a1f7 commit 42d0993

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

docs/book/v2/faq.md

Lines changed: 15 additions & 9 deletions
Original file line numberDiff line numberDiff 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.
173173
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:
174174

175-
- Open the MariaDB.repo file in any text editor.
175+
* Open the MariaDB.repo file in any text editor.
176+
*
176177
```shell
177178
sudo 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
183185
sudo dnf clean all
184186
```
185187

186-
- Stop MariaDB
188+
* Stop MariaDB
189+
187190
```shell
188191
sudo systemctl stop mariadb
189192
```
190193

191-
- Upgrade MariaDB
194+
* Upgrade MariaDB
192195
```shell
193196
sudo dnf update -y
194197
```
195198

196-
- Start MariaDB
199+
* Start MariaDB
200+
197201
```shell
198202
sudo systemctl start mariadb
199203
```
200204

201-
- Upgrade databases
205+
* Upgrade databases
206+
202207
```shell
203208
sudo mariadb-upgrade -uroot -p
204209
```
205210

206-
- Restart MariaDB
211+
* Restart MariaDB
212+
207213
```shell
208214
sudo systemctl restart mariadb
209215
```

0 commit comments

Comments
 (0)