[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. ACM/ICPC 之 模拟 (HNUOJ 13391-换瓶模拟)

    题意:汽水瓶有三个部分cap+plastic bottle+ label(瓶盖-瓶身-瓶底),给出数据:n为原瓶数,x,y,z为这三个部分可以用相应的数字换取新瓶子,求最大总瓶数. 模拟(暴力) // ...

  2. Django~Databases

    更换数据库 migrate 下哈 admin 要重新建立 修改\mysite\settings.py DATABASES = {    'default': {        'ENGINE': 'd ...

  3. HTTP协议与HTML表单(再谈GET与POST的区别)

    HTTP的GET/POST方式有何区别?这是一个老生常谈的问题,但老生常谈的问题往往有一些让人误解的结论.本文将带您浅尝HTTP协议,在了 解HTTP协议的同时将会展示许多被人们忽视的内容.在掌握了H ...

  4. Silverlight 动画性能

    通过几个配置可以提高动画性能: Desired Frame Rate 在WEB项目中配置: <div id="silverlightControlHost"> < ...

  5. 快速入门GreenDao框架并实现增删改查案例

    大家的项目中不可避免的使用到SQLite,为此我们要花费心思编写一个增删改查框架.而一个好的ORM框架则能够给我们带来极大的方便,今天给大家讲解一个非常火热的ORM-GreenDao. 基本概念 Gr ...

  6. HDU 4314 Save the dwarfs (DP) ---转载

    题目:传送门. 这个是DP,比赛的时候用贪心写了好久没写出来. 题意: 有n个矮人被困在深度为h的井中,每个矮人都ai(脚到肩膀的高度)和bi(手臂长度), 当存在a1 + a2 + ... + ak ...

  7. oracle默认配置ora文件位置

    unix:$ORACLE_HOME/dbsnt:c:\Oracle\ora81\database create spfile from pfile = '/home/oracle/initora11g ...

  8. 128. Longest Consecutive Sequence(leetcode)

    Given an unsorted array of integers, find the length of the longest consecutive elements sequence. F ...

  9. Cocoapods 更新后 使用

    platform:ios,'8.0'target 'APPNAME' do pod 'SMSSDK' pod 'MBProgressHUD', '0.9.1' pod 'AFNetworking', ...

  10. linux 下查mac

    sh-4.1# cat /sys/class/net/eth0/address 4c:cc:6a::9a: sh-4.1# ifconfig -a |grep 'HWaddr'|awk '{print ...