Retirer MySQL de CentOS 7
sudo yum remove mysql mysql-server
Scary Serval
sudo yum remove mysql mysql-server
#show the installed mysql packages
$ sudo yum list installed | grep mysql
#remove the installed packages
$ sudo yum remove mysql-community-client.x86_64 mysql-community-common.x86_64 mysql-community-libs.x86_64 mysql-community-server.x86_64 mysql57-community-release.noarch
#Find the installation path of mysql
$ whereis mysql
#remove the intallation file
$ rm -r <path>
$ rm -r /var/lib/mysql