Remove MySQL Community edition quickly:
Let us imagine you have following rpm installed on server
mysql-community-client.x86_64
mysql-community-common.x86_64
mysql-community-devel.x86_64
mysql-community-embedded-compat.x86_64
mysql-community-libs.x86_64
mysql-community-libs-compat.x86_64
mysql-community-server.x86_64
and you would like to remove everything you can use following command
#yum remove mysql-community-common.x86_64
while removing you will see the message it is removing dependencies and all other rpm package will be removed
Removing for dependencies:
mysql-community-client
mysql-community-devel
mysql-community-embedded-compat
mysql-community-libs
mysql-community-libs-compat
mysql-community-server
While removing it will save my.cnf as my.cnf.rpmsave
Let us imagine you have following rpm installed on server
mysql-community-client.x86_64
mysql-community-common.x86_64
mysql-community-devel.x86_64
mysql-community-embedded-compat.x86_64
mysql-community-libs.x86_64
mysql-community-libs-compat.x86_64
mysql-community-server.x86_64
and you would like to remove everything you can use following command
#yum remove mysql-community-common.x86_64
while removing you will see the message it is removing dependencies and all other rpm package will be removed
Removing for dependencies:
mysql-community-client
mysql-community-devel
mysql-community-embedded-compat
mysql-community-libs
mysql-community-libs-compat
mysql-community-server
While removing it will save my.cnf as my.cnf.rpmsave
Comments
Post a Comment