how to uninstall and reinstall mysql ubuntu code example Example: remove mysql from ubuntu sudo apt-get remove --purge mysql*