how to uninstall and install mysql on linux code example Example: uninstall mysql ubuntu sudo apt-get remove --purge mysql*