xxxxxxxxxx
sudo dpkg -r mysql-router
#alternative sudo apt-get purge mysql-router
#clean conf
sudo rm -rf /etc/init.d/mysqlrouter
sudo rm -rf /etc/mysqlrouter/mysqlrouter.conf
sudo rm -rf /etc/apparmor.d/usr.sbin.mysqlrouter
sudo rm -rf /var/lib/mysqlrouter/
sudo rm -rf /usr/bin/mysqlrouter
sudo rm -rf /etc/apparmor.d/usr.bin.mysqlrouter
sudo rm -rf /etc/apparmor.d/disable/usr.bin.mysqlrouter
sudo rm -rf /etc/mysqlrouter
sudo apt autoremove
xxxxxxxxxx
sudo systemctl stop mysql
sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-core-* mysql-client-core-*
sudo rm -rf /etc/mysql /var/lib/mysql
xxxxxxxxxx
sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-core-* mysql-client-core-*
sudo rm -rf /etc/mysql /var/lib/mysql
sudo apt-get autoremove
sudo apt-get autoclean