ubuntu totally remove mysql code example Example: remove mysql from ubuntu sudo apt-get remove --purge mysql*