uninstall mysql in ubuntu server code example Example: remove mysql from ubuntu sudo apt-get remove --purge mysql*