Removing MySQL from Ubuntu or Debian Linux

One of the easiest way to upgrade MySQL installation is by first backing up the existing database and removing all traces of MySQL from the system.

sudo apt remove --purge mysql*
sudo apt autoremove
sudo apt autoclean
sudo apt remove dbconfig-mysql

Leave a Reply