centos7 卸载mysql
[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的更多相关文章
- Linux:CentOS7卸载mysql
步骤 方法一. 1.查看mysql安装 rpm -qa|grep -i mysql 2.卸载前关闭mysql服务 rpm -ev --nodeps mysql-community-release-el ...
- CentOS7 卸载mysql(YUM源方式)
防止重装 yum方式 查看yum是否安装过mysql yum list installed mysql* 如或显示了列表,说明系统中有MySQL yum卸载 根据列表上的名字 yum remove ...
- CentOS7下安装Mysql失败经历--CentOS7使用yum安装和卸载Mysql过程
起因 自己租用的BandwagonVPS上安装了个CentOS7,然后开始安装各种软件,结果yum安装MySQL发现MySQL在yum源中的Mysql不对劲,于是自己百度搜索安装方法. 终于我搜到了这 ...
- 【centOS7.3 彻底卸载MySQL】
废话不多说,直接正面刚. 1.删除MySQL yum remove mysql mysql-server mysql-libs mysql-server; 执行后继续查找相关文件 find / -na ...
- centos7彻底卸载mysql和通过yum安装mysql
彻底卸载mysql 查看是否有安装的mysql rpm -qa | grep -i mysql // 查看命令1 1 这里写图片描述 yum list install mysql* // 查看命令2 ...
- centos7下mysql安装与卸载
彻底卸载mysql 一.chak 是否有安装mysql a) rpm -qa | grep -i mysql // 查看命令1 b) yum list install mysql* ...
- [CentOs7]安装mysql(2)
摘要 之前安装过一次mysql,最后配置,发现在本地无法连接,重启服务的时候一直卡在那里不动,感觉是安装的过程出问题,最后没办法还是卸载了,然后重新安装一下. [CentOs7]安装mysql Mys ...
- CentOS系统下安装以及卸载mysql
CentOS7的yum源中默认好像是没有mysql的.为了解决这个问题,我们要先下载mysql的repo源. 1. 下载mysql的repo源 [root@localhost `]$ wget htt ...
- centos7安装mysql(yum)
centos7安装mysql(yum) ----安装环境----依赖安装----检查mysql是否已安装----安装----验证是否添加成功----选择要启用的mysql版本----通过Yum安装my ...
随机推荐
- ios UIButton shadowcolor 导致黑边问题
注意这个属性,会导致按钮文字有一定黑边,其实就是阴影效果,如果不是想要的效果,应该把它设置为clearcolor.这种情况在亮色背景下比较突出.
- java压缩
/* @description:压缩文件操作 * @param filePath 要压缩的文件路径 * @param descDir 压缩文件保存的路径 d:\\aaa.zip */ public s ...
- c++ 调用外部程序exe-ShellExecuteEx
此方法最实用的调用exe. #include <ShellAPI.h> string file_path = s_run_dir+"\\ConsoleApplication1.e ...
- FastReport报表控件使用技巧总结
FastReport报表控件使用技巧总结 1.FastReport中如何访问报表中的对象? 可以使用FindObject方法. TfrxMemoView(frxReport1.FindObject(' ...
- UIButton 的点击事件详解
UIControlEventTouchDown 单点触摸按下事件:用户点触屏幕,或者又有新手指落下的时候. UIControlEventTouchDownRepeat 多点触摸按下事件,点触计数大于1 ...
- iOS MD5加密
1.MD5加密 Message Digest Algorithm MD5(中文名为消息摘要算法第五版)为计算机安全领域广泛使用的一种散列函数,用以提供消息的完整性保护.该算法的文件号为RFC 1321 ...
- 群内大神与你交流WEB经验 业内专家指点就职技巧
就知道你是一个有理想要抱负的人,不会满足于做一个初级的前端开发工程师.在接下来的这个阶段,我们将走上前端开发的进阶之路,将自己的能力再往上拔高一个等级.同样,薪资也会往上升一个等级!但是,如果你是一个 ...
- mysql 查看存储引擎的状态 show engine innodb status 详解
首先,让我们来了解一下 SHOW INNODB STATUS 输出的基础,它打印了很多关于 InnoDB 内部性能相关的计数器.统计.事务处理信息等.在 MySQL 5 中,InnoDB 的性能统计结 ...
- 在HTML中禁止文字的复制
很简单,只需在<body>中添加如下代码: <body oncontextmenu='return false' ondragstart='return false' onsele ...
- 关于logcat日志
最近学习android,碰到了logcat,个人总结一下. 当不出日志是解决办法: ProjectMenu---后台设置----LOG设置---LOG开关 Logcat(deprecated)和Log ...