ubuntu 20.04: completely remove mysql and mariadb code example Example: remove mariadb $ sudo apt-get purge mariadb-server