CentOS卸载MySQL的方法 yum remove mysql

2024-06-17 09:32

本文主要是介绍CentOS卸载MySQL的方法 yum remove mysql,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!

CentOS卸载MySQL的方法 yum remove mysql

[root@kypulo lampp]# rpm -qa|grep mysqlmysql-community-release-el6-5.noarchmysql-community-client-5.6.20-4.el6.i686mysql-community-libs-5.6.20-4.el6.i686mysql-community-common-5.6.20-4.el6.i686mysql-community-server-5.6.20-4.el6.i686[root@kypulo lampp]# yum remove mysqlLoaded plugins: fastestmirrorSetting up Remove ProcessResolving DependenciesThere are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.The program yum-complete-transaction is found in the yum-utils package.--> Running transaction check---> Package mysql-community-client.i686 0:5.6.20-4.el6 will be erased--> Processing Dependency: mysql-community-client(x86-32) = 5.6.20-4.el6 for package: mysql-community-server-5.6.20-4.el6.i686--> Running transaction check---> Package mysql-community-server.i686 0:5.6.20-4.el6 will be erased--> Finished Dependency Resolutionbase                                                     | 3.7 kB     00:00     epel/metalink                                            |  13 kB     00:00     epel                                                     | 4.4 kB     00:00     epel/primary_db                                          | 5.2 MB     00:00     extras                                                   | 3.3 kB     00:00     mysql-connectors-community                               | 2.5 kB     00:00     mysql-tools-community                                    | 2.5 kB     00:00     mysql56-community                                        | 2.5 kB     00:00     updates                                                  | 3.4 kB     00:00     vz-base                                                  |  951 B     00:00     vz-updates                                               |  951 B     00:00     Dependencies Resolved================================================================================Package                   Arch    Version          Repository             Size================================================================================Removing:mysql-community-client    i686    5.6.20-4.el6     @mysql56-community     71 MRemoving for dependencies:mysql-community-server    i686    5.6.20-4.el6     @mysql56-community    211 MTransaction Summary================================================================================Remove        2 Package(s)Installed size: 283 MIs this ok [y/N]: yDownloading Packages:Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning TransactionErasing    : mysql-community-server-5.6.20-4.el6.i686                     1/2 Erasing    : mysql-community-client-5.6.20-4.el6.i686                     2/2 Verifying  : mysql-community-server-5.6.20-4.el6.i686                     1/2 Verifying  : mysql-community-client-5.6.20-4.el6.i686                     2/2 Removed:mysql-community-client.i686 0:5.6.20-4.el6                                    Dependency Removed:mysql-community-server.i686 0:5.6.20-4.el6                                    Complete![root@kypulo lampp]# rpm -qa|grep mysqlmysql-community-release-el6-5.noarchmysql-community-libs-5.6.20-4.el6.i686mysql-community-common-5.6.20-4.el6.i686[root@kypulo lampp]# yum remove mysql-libsLoaded plugins: fastestmirrorSetting up Remove ProcessResolving DependenciesThere are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.The program yum-complete-transaction is found in the yum-utils package.--> Running transaction check---> Package mysql-community-libs.i686 0:5.6.20-4.el6 will be erased--> Finished Dependency ResolutionDependencies Resolved================================================================================Package                 Arch    Version            Repository             Size================================================================================Removing:mysql-community-libs    i686    5.6.20-4.el6       @mysql56-community    7.3 MTransaction Summary================================================================================Remove        1 Package(s)Installed size: 7.3 MIs this ok [y/N]: yDownloading Packages:Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning TransactionErasing    : mysql-community-libs-5.6.20-4.el6.i686                       1/1 Verifying  : mysql-community-libs-5.6.20-4.el6.i686                       1/1 Removed:mysql-community-libs.i686 0:5.6.20-4.el6                                      Complete![root@kypulo lampp]# rpm -qa|grep mysqlmysql-community-release-el6-5.noarchmysql-community-common-5.6.20-4.el6.i686[root@kypulo lampp]# yum remove mysql-commonLoaded plugins: fastestmirrorSetting up Remove ProcessResolving DependenciesThere are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.The program yum-complete-transaction is found in the yum-utils package.--> Running transaction check---> Package mysql-community-common.i686 0:5.6.20-4.el6 will be erased--> Finished Dependency ResolutionDependencies Resolved================================================================================Package                   Arch    Version          Repository             Size================================================================================Removing:mysql-community-common    i686    5.6.20-4.el6     @mysql56-community    2.1 MTransaction Summary================================================================================Remove        1 Package(s)Installed size: 2.1 MIs this ok [y/N]: yDownloading Packages:Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning TransactionErasing    : mysql-community-common-5.6.20-4.el6.i686                     1/1 Verifying  : mysql-community-common-5.6.20-4.el6.i686                     1/1 Removed:mysql-community-common.i686 0:5.6.20-4.el6                                    Complete![root@kypulo lampp]# rpm -qa|grep mysqlmysql-community-release-el6-5.noarch[root@kypulo lampp]# yum remove mysql-releaseLoaded plugins: fastestmirrorSetting up Remove ProcessNo Match for argument: mysql-releaseLoading mirror speeds from cached hostfile* base: mirrors.easynews.com* epel: mirrors.solfo.com* extras: mirror.hmc.edu* updates: repos.lax.quadranet.comNo Packages marked for removal[root@kypulo lampp]# yum remove mysql-communityLoaded plugins: fastestmirrorSetting up Remove ProcessNo Match for argument: mysql-communityLoading mirror speeds from cached hostfile* base: mirrors.easynews.com* epel: mirror.prgmr.com* extras: mirror.hmc.edu* updates: repos.lax.quadranet.comNo Packages marked for removal[root@kypulo lampp]# rpm -qa|grep mysqlmysql-community-release-el6-5.noarch[root@kypulo lampp]# yum remove mysql-community-release-el6-5.noarchLoaded plugins: fastestmirrorSetting up Remove ProcessResolving DependenciesThere are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.The program yum-complete-transaction is found in the yum-utils package.--> Running transaction check---> Package mysql-community-release.noarch 0:el6-5 will be erased--> Finished Dependency ResolutionDependencies Resolved================================================================================Package                       Arch         Version       Repository       Size================================================================================Removing:mysql-community-release       noarch       el6-5         installed       4.3 kTransaction Summary================================================================================Remove        1 Package(s)Installed size: 4.3 kIs this ok [y/N]: yDownloading Packages:Running rpm_check_debugRunning Transaction TestTransaction Test SucceededRunning TransactionErasing    : mysql-community-release-el6-5.noarch                         1/1 Verifying  : mysql-community-release-el6-5.noarch                         1/1 Removed:mysql-community-release.noarch 0:el6-5                                        Complete!

这篇关于CentOS卸载MySQL的方法 yum remove mysql的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!



http://www.chinasem.cn/article/1069070

相关文章

Linux换行符的使用方法详解

《Linux换行符的使用方法详解》本文介绍了Linux中常用的换行符LF及其在文件中的表示,展示了如何使用sed命令替换换行符,并列举了与换行符处理相关的Linux命令,通过代码讲解的非常详细,需要的... 目录简介检测文件中的换行符使用 cat -A 查看换行符使用 od -c 检查字符换行符格式转换将

SpringBoot实现数据库读写分离的3种方法小结

《SpringBoot实现数据库读写分离的3种方法小结》为了提高系统的读写性能和可用性,读写分离是一种经典的数据库架构模式,在SpringBoot应用中,有多种方式可以实现数据库读写分离,本文将介绍三... 目录一、数据库读写分离概述二、方案一:基于AbstractRoutingDataSource实现动态

Linux系统中卸载与安装JDK的详细教程

《Linux系统中卸载与安装JDK的详细教程》本文详细介绍了如何在Linux系统中通过Xshell和Xftp工具连接与传输文件,然后进行JDK的安装与卸载,安装步骤包括连接Linux、传输JDK安装包... 目录1、卸载1.1 linux删除自带的JDK1.2 Linux上卸载自己安装的JDK2、安装2.1

Java中的String.valueOf()和toString()方法区别小结

《Java中的String.valueOf()和toString()方法区别小结》字符串操作是开发者日常编程任务中不可或缺的一部分,转换为字符串是一种常见需求,其中最常见的就是String.value... 目录String.valueOf()方法方法定义方法实现使用示例使用场景toString()方法方法

Java中List的contains()方法的使用小结

《Java中List的contains()方法的使用小结》List的contains()方法用于检查列表中是否包含指定的元素,借助equals()方法进行判断,下面就来介绍Java中List的c... 目录详细展开1. 方法签名2. 工作原理3. 使用示例4. 注意事项总结结论:List 的 contain

MySQL双主搭建+keepalived高可用的实现

《MySQL双主搭建+keepalived高可用的实现》本文主要介绍了MySQL双主搭建+keepalived高可用的实现,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,... 目录一、测试环境准备二、主从搭建1.创建复制用户2.创建复制关系3.开启复制,确认复制是否成功4.同

MyBatis 动态 SQL 优化之标签的实战与技巧(常见用法)

《MyBatis动态SQL优化之标签的实战与技巧(常见用法)》本文通过详细的示例和实际应用场景,介绍了如何有效利用这些标签来优化MyBatis配置,提升开发效率,确保SQL的高效执行和安全性,感... 目录动态SQL详解一、动态SQL的核心概念1.1 什么是动态SQL?1.2 动态SQL的优点1.3 动态S

Mysql表的简单操作(基本技能)

《Mysql表的简单操作(基本技能)》在数据库中,表的操作主要包括表的创建、查看、修改、删除等,了解如何操作这些表是数据库管理和开发的基本技能,本文给大家介绍Mysql表的简单操作,感兴趣的朋友一起看... 目录3.1 创建表 3.2 查看表结构3.3 修改表3.4 实践案例:修改表在数据库中,表的操作主要

macOS无效Launchpad图标轻松删除的4 种实用方法

《macOS无效Launchpad图标轻松删除的4种实用方法》mac中不在appstore上下载的应用经常在删除后它的图标还残留在launchpad中,并且长按图标也不会出现删除符号,下面解决这个问... 在 MACOS 上,Launchpad(也就是「启动台」)是一个便捷的 App 启动工具。但有时候,应

Linux卸载自带jdk并安装新jdk版本的图文教程

《Linux卸载自带jdk并安装新jdk版本的图文教程》在Linux系统中,有时需要卸载预装的OpenJDK并安装特定版本的JDK,例如JDK1.8,所以本文给大家详细介绍了Linux卸载自带jdk并... 目录Ⅰ、卸载自带jdkⅡ、安装新版jdkⅠ、卸载自带jdk1、输入命令查看旧jdkrpm -qa