本文主要是介绍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的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!