fully uninstall mysql code example Example: uninstall mysql ubuntu sudo apt-get remove --purge mysql*