remove mysql from ubuntu with all dbs code example Example: remove mysql from ubuntu sudo apt-get remove --purge mysql*