As the title says, I did
sudo apt-get purge mysql*
and as a result, all packages with mysql in their name were purged. I tried a
sudo apt-get install mysql*
But, it also selected packages that weren't installed, and have broken dependencies.
Is there another way, other than copy-pasting each of the unselected package?