Remove MySQL in one line.
Well at least only one line of code for you!
bash < <( curl -L http://bit.ly/91Ugqt )
Remember this will totally nuke your MySQL installation, so be sure to have your databases backed up and safe.
This script only works on *nix systems in which you’ve installed MySQL the standard way.
I encourage you to check out the script that is being run when you execute that command, and please if you notice any improvements fork it!