[root@zyf ~]# rpm -qa|grep -i mysql
mysql-community-libs-5.6.-.el7.x86_64
mysql-community-server-5.6.-.el7.x86_64
mysql-community-release-el7-.noarch
mysql-community-common-5.6.-.el7.x86_64
mysql-community-client-5.6.-.el7.x86_64
[root@zyf ~]# yum remove mysql
Loaded plugins: fastestmirror
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-client.x86_64 :5.6.-.el7 will be erased
--> Processing Dependency: mysql-community-client(x86-) >= 5.6. for package: mysql-community-server-5.6.-.el7.x86_64
--> Running transaction check
---> Package mysql-community-server.x86_64 :5.6.-.el7 will be erased
--> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================================================
Removing:
mysql-community-client x86_64 5.6.-.el7 @mysql56-community M
Removing for dependencies:
mysql-community-server x86_64 5.6.-.el7 @mysql56-community M Transaction Summary
============================================================================================================================================================================================================
Remove Package (+ Dependent package) Installed size: M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Erasing : mysql-community-server-5.6.-.el7.x86_64 /
Erasing : mysql-community-client-5.6.-.el7.x86_64 /
Verifying : mysql-community-server-5.6.-.el7.x86_64 /
Verifying : mysql-community-client-5.6.-.el7.x86_64 / Removed:
mysql-community-client.x86_64 :5.6.-.el7 Dependency Removed:
mysql-community-server.x86_64 :5.6.-.el7 Complete!
[root@zyf ~]# rpm -qa|grep -i mysql
mysql-community-libs-5.6.-.el7.x86_64
mysql-community-release-el7-.noarch
mysql-community-common-5.6.-.el7.x86_64
[root@zyf ~]# yum remove mysql-community-libs-5.6.-.el7.x86_64
Loaded plugins: fastestmirror
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-libs.x86_64 :5.6.-.el7 will be erased
--> Processing Dependency: libmysqlclient.so.()(64bit) for package: :postfix-2.10.-.el7.x86_64
--> Processing Dependency: libmysqlclient.so.(libmysqlclient_18)(64bit) for package: :postfix-2.10.-.el7.x86_64
--> Running transaction check
---> Package postfix.x86_64 :2.10.-.el7 will be erased
--> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================================================
Removing:
mysql-community-libs x86_64 5.6.-.el7 @mysql56-community 9.2 M
Removing for dependencies:
postfix x86_64 :2.10.-.el7 @anaconda M Transaction Summary
============================================================================================================================================================================================================
Remove Package (+ Dependent package) Installed size: M
Is this ok [y/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Erasing : :postfix-2.10.-.el7.x86_64 /
Erasing : mysql-community-libs-5.6.-.el7.x86_64 /
Verifying : :postfix-2.10.-.el7.x86_64 /
Verifying : mysql-community-libs-5.6.-.el7.x86_64 / Removed:
mysql-community-libs.x86_64 :5.6.-.el7 Dependency Removed:
postfix.x86_64 :2.10.-.el7 Complete!
[root@zyf ~]# yum remove -y mysql-community-release-el7-.noarch
Loaded plugins: fastestmirror
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-release.noarch :el7- will be erased
--> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================================================
Removing:
mysql-community-release noarch el7- installed 4.3 k Transaction Summary
============================================================================================================================================================================================================
Remove Package Installed size: 4.3 k
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Erasing : mysql-community-release-el7-.noarch /
Verifying : mysql-community-release-el7-.noarch / Removed:
mysql-community-release.noarch :el7- Complete!
[root@zyf ~]# yum remove -y mysql-community-common-5.6.-.el7.x86_64
Loaded plugins: fastestmirror
Resolving Dependencies
--> Running transaction check
---> Package mysql-community-common.x86_64 :5.6.-.el7 will be erased
--> Finished Dependency Resolution Dependencies Resolved ============================================================================================================================================================================================================
Package Arch Version Repository Size
============================================================================================================================================================================================================
Removing:
mysql-community-common x86_64 5.6.-.el7 @mysql56-community 2.1 M Transaction Summary
============================================================================================================================================================================================================
Remove Package Installed size: 2.1 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Erasing : mysql-community-common-5.6.-.el7.x86_64 /
Verifying : mysql-community-common-5.6.-.el7.x86_64 / Removed:
mysql-community-common.x86_64 :5.6.-.el7 Complete!
[root@zyf ~]# rpm -qa|grep -i mysql
[root@zyf ~]#

centos7 卸载mysql的更多相关文章

  1. Linux:CentOS7卸载mysql

    步骤 方法一. 1.查看mysql安装 rpm -qa|grep -i mysql 2.卸载前关闭mysql服务 rpm -ev --nodeps mysql-community-release-el ...

  2. CentOS7 卸载mysql(YUM源方式)

    防止重装 yum方式 查看yum是否安装过mysql yum list installed mysql* 如或显示了列表,说明系统中有MySQL  yum卸载 根据列表上的名字 yum remove ...

  3. CentOS7下安装Mysql失败经历--CentOS7使用yum安装和卸载Mysql过程

    起因 自己租用的BandwagonVPS上安装了个CentOS7,然后开始安装各种软件,结果yum安装MySQL发现MySQL在yum源中的Mysql不对劲,于是自己百度搜索安装方法. 终于我搜到了这 ...

  4. 【centOS7.3 彻底卸载MySQL】

    废话不多说,直接正面刚. 1.删除MySQL yum remove mysql mysql-server mysql-libs mysql-server; 执行后继续查找相关文件 find / -na ...

  5. centos7彻底卸载mysql和通过yum安装mysql

    彻底卸载mysql 查看是否有安装的mysql rpm -qa | grep -i mysql // 查看命令1 1 这里写图片描述 yum list install mysql* // 查看命令2 ...

  6. centos7下mysql安装与卸载

    彻底卸载mysql 一.chak 是否有安装mysql a)      rpm -qa | grep -i mysql // 查看命令1 b)      yum list install mysql* ...

  7. [CentOs7]安装mysql(2)

    摘要 之前安装过一次mysql,最后配置,发现在本地无法连接,重启服务的时候一直卡在那里不动,感觉是安装的过程出问题,最后没办法还是卸载了,然后重新安装一下. [CentOs7]安装mysql Mys ...

  8. CentOS系统下安装以及卸载mysql

    CentOS7的yum源中默认好像是没有mysql的.为了解决这个问题,我们要先下载mysql的repo源. 1. 下载mysql的repo源 [root@localhost `]$ wget htt ...

  9. centos7安装mysql(yum)

    centos7安装mysql(yum) ----安装环境----依赖安装----检查mysql是否已安装----安装----验证是否添加成功----选择要启用的mysql版本----通过Yum安装my ...

随机推荐

  1. iOS 8 WKWebView

    首先看看这篇文章,写得很好:http://nshipster.cn/wkwebkit/ 再推荐去看看 iOS_8_by_Tutorials 这本书里的 WKWebView相关章节! 我这里说下自己的简 ...

  2. ACM/ICPC 之 用双向链表 or 模拟栈 解“栈混洗”问题-火车调度(TSH OJ - Train)

    本篇用双向链表和模拟栈混洗过程两种解答方式具体解答“栈混洗”的应用问题 有关栈混洗的定义和解释在此篇:手记-栈与队列相关 列车调度(Train) 描述 某列车调度站的铁道联接结构如Figure 1所示 ...

  3. ffmpeg-20160803-bin.7z

    ESC 退出 0 进度条开关 1 屏幕原始大小 2 屏幕1/2大小 3 屏幕1/3大小 4 屏幕1/4大小 S 下一帧 [ -2秒 ] +2秒 ; -1秒 ' +1秒 下一个帧 -> -5秒 f ...

  4. ABAP 承运路单

    *&---------------------------------------------------------------------* *& Report  ZSDR010 ...

  5. (keymap设置及eclipse常用快捷键总结)

    设置pycharm为Eclipse快捷键后使用总结: Ctrl + O  根据name模糊查找当前文件中类.方法 Alt + (向左箭头或者向右箭头) ,回退or前进到到之前查看或者编辑处 Alt + ...

  6. 常用iOS第三方库以及XCode插件介绍

    第三方库 CocoaPod CocoaPod并不是iOS上的第三方库 而是大名鼎鼎的第三方库的管理工具 在CocoaPod没有出现之前 第三方库的管理是非常痛苦的 尤其是一些大型的库(比如nimbus ...

  7. Effective C++ -----条款45:运用成员函数模板接受所有兼容类型

    请使用member function templates(成员函数模板)生成”可接受所有兼容类型“的函数. 如果你声明member templates 用于“泛化copy构造”或“泛化assignme ...

  8. IOS - 内购

    内购的五种产品类别 •非消耗品(Nonconsumable)买了就有,头衔,功能 –指的是在游戏中一次性购买并拥有永久访问权的物品或服务.非消耗品物品可以被用户再次下载,并且能够在用户的所有设备上使用 ...

  9. Hibernate类中集合的映射

    1 pojo类集合属性的映射 在pojo类中定义集合属性. 1.1  List集合属性的映射 package org.guangsoft.pojo; import java.util.List; pu ...

  10. poj1308(简单并查集)

    题目链接:http://poj.org/problem?id=1308 题意:x, y 表示x 与 y连接,给出一波这样的数据,问这组数据能否构成树,即不能形成回路,不能有多个根节点:要注意可以是空树 ...