[[email protected] 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
[[email protected] lampp]# Yum remove MySQL
Loaded Plugins:fastestmirror
Setting up Remove Process
Resolving Dependencies
There is unfinished transactions remaining. You might consider running Yum-complete-transaction first to finish them.
The program yum-complete-transaction are found in the Yum-utils package.
--Running Transaction check
---> Package mysql-community-client.i686 0:5.6.20-4.el6 'll 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 'll be erased
--Finished Dependency Resolution
Base | 3.7 KB 00:00
Epel/metalink | 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 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!
[[email protected] 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
[email protected] lampp]# Yum Remove mysql-libs
Loaded Plugins:fastestmirror
Setting up Remove Process
Resolving Dependencies
There is unfinished transactions remaining. You might consider running Yum-complete-transaction first to finish them.
The program yum-complete-transaction are found in the Yum-utils package.
--Running Transaction check
---> Package mysql-community-libs.i686 0:5.6.20-4.el6 'll 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!
[[email protected] lampp]# rpm-qa|grep MySQL
Mysql-community-release-el6-5.noarch
mysql-community-common-5.6.20-4.el6.i686
[email protected] lampp]# Yum Remove Mysql-common
Loaded Plugins:fastestmirror
Setting up Remove Process
Resolving Dependencies
There is unfinished transactions remaining. You might consider running Yum-complete-transaction first to finish them.
The program yum-complete-transaction are found in the Yum-utils package.
--Running Transaction check
---> Package mysql-community-common.i686 0:5.6.20-4.el6 'll 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!
[[email protected] lampp]# rpm-qa|grep MySQL
Mysql-community-release-el6-5.noarch
[email protected] 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
[email protected] 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
[[email protected] lampp]# rpm-qa|grep MySQL
Mysql-community-release-el6-5.noarch
[email protected] lampp]# Yum Remove Mysql-community-release-el6-5.noarch
Loaded Plugins:fastestmirror
Setting up Remove Process
Resolving Dependencies
There is unfinished transactions remaining. You might consider running Yum-complete-transaction first to finish them.
The program yum-complete-transaction are found in the Yum-utils package.
--Running Transaction check
---> Package mysql-community-release.noarch 0:el6-5 'll 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!
This article is from the "Cape Technology" blog, please be sure to keep this source http://kypulo.blog.51cto.com/9227739/1549840
"MySQL album" CentOS uninstall MySQL method yum remove xxx