Linux 6.7卸载MySQL8.0.16

Posted coreloving

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Linux 6.7卸载MySQL8.0.16相关的知识,希望对你有一定的参考价值。

[[email protected] vsftpd]# uname -r
2.6.32-754.10.1.el6.x86_64

[[email protected] 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

[[email protected] vsftpd]# service mysqld status
mysqld (pid  40238) is running...
[[email protected] vsftpd]# service mysqld stop
Stopping mysqld:                                           [  OK  ]
[[email protected] vsftpd]# service mysqld status
mysqld is stopped

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

[[email protected] vsftpd]# find / -name mysql
/opt/********/data/mysql
/var/spool/mail/mysql
/var/swstore/mysql
/var/lib/mysql
/var/lib/mysql/mysql
/usr/lib64/mysql
[[email protected] vsftpd]# rm -rf /opt/********/data/mysql
[[email protected] vsftpd]# rm -rf /var/spool/mail/mysql
[[email protected] vsftpd]# rm -rf /var/swstore/mysql
[[email protected] vsftpd]# rm -rf /var/lib/mysql
[[email protected] vsftpd]# rm -rf /var/lib/mysql/mysql
[[email protected] vsftpd]# rm -rf /usr/lib64/mysql
[[email protected] vsftpd]# rm -rf /etc/my.cnf
[[email protected] vsftpd]#  find / -name mysql
[[email protected] vsftpd]# 

 

以上是关于Linux 6.7卸载MySQL8.0.16的主要内容,如果未能解决你的问题,请参考以下文章

MySQL8.0.16-linux-x64安装介绍(binary package)

centos6.10下安装mysql8.0.16root密码修改的坑

docker -- 安装mysql8.0.16

Win10下免安装版MySQL8.0.16的安装和配置

centos7在线安装mysql8.0.16

centos7编译安装LNMP(nginx-1.16.0,mysql8.0.16,php-7.3.6)常见问题报错及解决方法