CentOS7でMySQL完全アンインストールする

操作手順
#yum remove mysql mysql-server mysql-devel mysql-libs compat-mysql51 mysql-community-client mysql-community-libs mysql-community-server mysql-community-common mysql-community-release.noarch
#rm -rf /var/lib/mysql
#rm /etc/my.cnf
#rm -rf /var/lib/mysql/
#rm -rf /usr/lib64/mysql
#rm -rf /usr/lib/mysql
#rm -rf /usr/share/mysql
#rm –rf /usr/my.cnf
#rm -rf /root/.mysql_sercret
#chkconfig –del mysqld

#yum list installed mysql*

MySQL

Posted by arkgame