# How to update mariadb?

**URL:** <https://forum.virtualmin.com/t/how-to-update-mariadb/132190>\
**Category:** Virtualmin\
**Created:** [February 17, 2025, 9:48pm UTC](https://forum.virtualmin.com/t/how-to-update-mariadb/132190 "2025-02-17T21:48:12Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Steini](https://cdn.forum.virtualmin.com/user_avatar/forum.virtualmin.com/steini/32/19731_2.png) [@Steini](https://forum.virtualmin.com/u/Steini)\
**Post date:** [February 17, 2025, 10:35pm UTC](https://forum.virtualmin.com/t/how-to-update-mariadb/132190/3 "2025-02-17T22:35:20Z")

</div>

Is it really that hard to use the search button?

> [@Upgrading MariaDB in Virtualmin](https://forum.virtualmin.com/t/upgrading-mariadb-in-virtualmin/130461/2):
>
> You shouldn’t do it at all. But if, here are the steps… Pay attention at every step and don’t do without a current backup! All steps assume you’re logged in as root. Otherwise, prefix with sudo. Perform database backup: mysqldump -u [username] -p[password] [database\_name] \> backup.sql Stop MariaDB server: systemctl stop mariadb Find the to be installed version number on [mariadb.org](http://mariadb.org) and pop it in at the end (e. g. 11.2.3): apt install software-properties-common;apt-key adv --fetch-keys 'ht…

This is for Ubuntu. However, if you REALLY know what you do, you can easily modify the commands.

---

_[View the full topic](https://forum.virtualmin.com/t/how-to-update-mariadb/132190)._
