MariaDB upgrade

Some of the web app running on my server require MariaDB 10.XX and I would like to know if there is a way I can upgrade MariaDB 5.5.68.

Closed (fixed)
Virtualmin version: 
Webmin version: 


Status: Active ยป Closed (fixed)

Figured out to do it manually.

Figured out to do it manually.

Ilia's picture
Submitted by Ilia on Fri, 01/22/2021 - 07:26


Yes, upgrading MariaDB 5.5 to MairaDB 10 is possible and Virtualmin supports both versions equally well.

However, we never recommended doing it in the past for the reason that we wouldn't be able to provide any support, if any possible issues comes up.

We could give you simple instructions, which worked for us just fine, but again, you will be solely responsible for anything that happens further. :--)

Run the following commands:

nano /etc/yum.repos.d/MariaDB.repo

.. then paste the following content:

name = MariaDB
baseurl =

.. then run the following command:

yum update -y

.. then:

systemctl restart mariadb

.. and finally:

mysql_upgrade -u root -p --verbose

We will add this to the video tutorial in the near future.