Safe way to replace MariaDB to Mysql 8 on Debian 10

Operating system: Debian
OS version: 10

Hi,

how i can replace mariadb to Mysql 8 in a sage way after VIrtualmin install ?
i have tested to add Mysql repository before install virtualmin with GPL script but it install Mariadb.

Thanks

Hi,

Even though we don’t recommend doing this, you are welcome to try it. :slightly_smiling_face: There are plenty of tutorials on how it can be done. We haven’t tested it though. It may work indeed, as we support MySQL 8 already with Ubuntu 20.04, however it will depend on how actual MySQL 8 package for Debian 10 is built.

I presume, you would need to remove MariaDB packages first and then install MySQL.

After this is done you would want to run:

virtualmin-config-system -i MySQL

What is your goal? What is the benefit for you changing MariaDB to MySQL?

I have tested to add Mysql repository before install virtualmin with GPL script but it install Mariadb.

Because we call for installing MariaDB packages explicitly.

Hi,

The goal is that Mysql 8 have better performance :wink:

And because i don’t have success with install Virtualmin on Ubuntu 20.04 and make Netplan working with webmin and IP Fail Over active on boot.

On debian 10, it work because it don’t use netplan
(i talk on OVH server)

Not needed anymore i found a solution for install on Ubuntu 20.04 and have IF FO work with old networking system