码迷,mamicode.com
首页 > 数据库 > 详细

Linux 6.7卸载MySQL8.0.16

时间:2019-05-13 14:28:58      阅读:138      评论:0      收藏:0      [点我收藏+]

标签:run   vsftpd   libs   common   linu   ...   bsp   bash   eve   

[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]# 

 

Linux 6.7卸载MySQL8.0.16

标签:run   vsftpd   libs   common   linu   ...   bsp   bash   eve   

原文地址:https://www.cnblogs.com/coreloving/p/10856134.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!