Linux 6.7卸载MySQL8.0.16

[root@node01 vsftpd]# uname -r2.6.32-754.10.1.el6.x86_64[root@node01 vsftpd]# rpm -qa|grep -i mysqlmysql-community-libs-8.0.16-1.el6.x86_64mysql80-community-release-el6-3.noarchmysql-community-devel-8.0.16-1.el6.x86_64mysql-community-common-8.0.16-1.el6.x86_64mysql-community-test-8.0.16-1.el6.x86_64mysql-community-server-8.0.16-1.el6.x86_64mysql-community-client-8.0.16-1.el6.x86_64[root@node01 vsftpd]# service mysqld statusmysqld (pid 40238) is running...[root@node01 vsftpd]# service mysqld stopStopping mysqld: [ OK ][root@node01 vsftpd]# service mysqld statusmysqld 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]# 

 

相关文章