uninstall mariadb on debian 10 code example
Example 1: remove mariadb
$ sudo apt-get purge mariadb-server
Example 2: uninstall mariadb server and client in ubuntu 18.4
sudo apt-get autoclean
sudo rm -rf /var/lib/mysql/
sudo rm -rf /etc/mysql/
$ sudo apt-get purge mariadb-server
sudo apt-get autoclean
sudo rm -rf /var/lib/mysql/
sudo rm -rf /etc/mysql/