[root@node01 vsftpd]# uname -r
2.6.32-754.10.1.el6.x86_64

[root@node01 vsftpd]# rpm -qa|grep -i mysql
mysql-community-libs-8.0.16-1.el6.x86_64
mysql80-community-release-el6-3.noarch
mysql-community-devel-8.0.16-1.el6.x86_64
mysql-community-common-8.0.16-1.el6.x86_64
mysql-community-test-8.0.16-1.el6.x86_64
mysql-community-server-8.0.16-1.el6.x86_64
mysql-community-client-8.0.16-1.el6.x86_64

[root@node01 vsftpd]# service mysqld status
mysqld (pid  40238) is running...
[root@node01 vsftpd]# service mysqld stop
Stopping mysqld:                                           [  OK  ]
[root@node01 vsftpd]# service mysqld status
mysqld is stopped

[root@node01 vsftpd]# rpm -e --nodeps mysql-community-libs-8.0.16-1.el6.x86_64
[root@node01 vsftpd]# rpm -e --nodeps mysql80-community-release-el6-3.noarch
[root@node01 vsftpd]# rpm -e --nodeps mysql-community-devel-8.0.16-1.el6.x86_64
[root@node01 vsftpd]# rpm -e --nodeps mysql-community-common-8.0.16-1.el6.x86_64
[root@node01 vsftpd]# rpm -e --nodeps mysql-community-test-8.0.16-1.el6.x86_64
[root@node01 vsftpd]# rpm -e --nodeps mysql-community-server-8.0.16-1.el6.x86_64
[root@node01 vsftpd]# rpm -e --nodeps mysql-community-client-8.0.16-1.el6.x86_64
[root@node01 vsftpd]# rpm -qa|grep -i mysql

[root@node01 vsftpd]# find / -name mysql
/opt/********/data/mysql
/var/spool/mail/mysql
/var/swstore/mysql
/var/lib/mysql
/var/lib/mysql/mysql
/usr/lib64/mysql
[root@node01 vsftpd]# rm -rf /opt/********/data/mysql
[root@node01 vsftpd]# rm -rf /var/spool/mail/mysql
[root@node01 vsftpd]# rm -rf /var/swstore/mysql
[root@node01 vsftpd]# rm -rf /var/lib/mysql
[root@node01 vsftpd]# rm -rf /var/lib/mysql/mysql
[root@node01 vsftpd]# rm -rf /usr/lib64/mysql
[root@node01 vsftpd]# rm -rf /etc/my.cnf
[root@node01 vsftpd]#  find / -name mysql
[root@node01 vsftpd]#
04-08 06:59