centos6.5 删除mysql_【MySQL专辑】CentOS卸载MySQL的方法 yum remove xxx

[root@kypulo lampp]# rpm -qa|grep mysql

mysql-community-release-el6-5.noarch

mysql-community-client-5.6.20-4.el6.i686

mysql-community-libs-5.6.20-4.el6.i686

mysql-community-common-5.6.20-4.el6.i686

mysql-community-server-5.6.20-4.el6.i686

[root@kypulo lampp]# yum remove mysql

Loaded plugins: fastestmirror

Setting up Remove Process

Resolving Dependencies

There 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 Resolution

base                                                     | 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 M

Removing for dependencies:

mysql-community-server    i686    5.6.20-4.el6     @mysql56-community    211 M

Transaction Summary

================================================================================

Remove        2 Package(s)

Installed size: 283 M

Is this ok [y/N]: y

Downloading Packages:

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

Erasing    : 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 mysql

mysql-community-release-el6-5.noarch

mysql-community-libs-5.6.20-4.el6.i686

mysql-community-common-5.6.20-4.el6.i686

[root@kypulo lampp]# yum remove mysql-libs

Loaded plugins: fastestmirror

Setting up Remove Process

Resolving Dependencies

There 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 Resolution

Dependencies Resolved

================================================================================

Package                 Arch    Version            Repository             Size

================================================================================

Removing:

mysql-community-libs    i686    5.6.20-4.el6       @mysql56-community    7.3 M

Transaction Summary

================================================================================

Remove        1 Package(s)

Installed size: 7.3 M

Is this ok [y/N]: y

Downloading Packages:

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

Erasing    : 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 mysql

mysql-community-release-el6-5.noarch

mysql-community-common-5.6.20-4.el6.i686

[root@kypulo lampp]# yum remove mysql-common

Loaded plugins: fastestmirror

Setting up Remove Process

Resolving Dependencies

There 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 Resolution

Dependencies Resolved

================================================================================

Package                   Arch    Version          Repository             Size

================================================================================

Removing:

mysql-community-common    i686    5.6.20-4.el6     @mysql56-community    2.1 M

Transaction Summary

================================================================================

Remove        1 Package(s)

Installed size: 2.1 M

Is this ok [y/N]: y

Downloading Packages:

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

Erasing    : 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 mysql

mysql-community-release-el6-5.noarch

[root@kypulo lampp]# yum remove mysql-release

Loaded plugins: fastestmirror

Setting up Remove Process

No Match for argument: mysql-release

Loading mirror speeds from cached hostfile

* base: mirrors.easynews.com

* epel: mirrors.solfo.com

* extras: mirror.hmc.edu

* updates: repos.lax.quadranet.com

No Packages marked for removal

[root@kypulo lampp]# yum remove mysql-community

Loaded plugins: fastestmirror

Setting up Remove Process

No Match for argument: mysql-community

Loading mirror speeds from cached hostfile

* base: mirrors.easynews.com

* epel: mirror.prgmr.com

* extras: mirror.hmc.edu

* updates: repos.lax.quadranet.com

No Packages marked for removal

[root@kypulo lampp]# rpm -qa|grep mysql

mysql-community-release-el6-5.noarch

[root@kypulo lampp]# yum remove mysql-community-release-el6-5.noarch

Loaded plugins: fastestmirror

Setting up Remove Process

Resolving Dependencies

There 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 Resolution

Dependencies Resolved

================================================================================

Package                       Arch         Version       Repository       Size

================================================================================

Removing:

mysql-community-release       noarch       el6-5         installed       4.3 k

Transaction Summary

================================================================================

Remove        1 Package(s)

Installed size: 4.3 k

Is this ok [y/N]: y

Downloading Packages:

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

Erasing    : 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!

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值