Sunday, January 26, 2014

How to install/remove/check MySQL rpm packages

Overview

this post is to help you with MySQL package and rpm on linux boxes.

How to check What MySQL RPMs are installed

If you are using RPM to manage your MySQL components, there is an easy way to check what MySQL components are installed.

rpm –qa | grep –i mysql

How to remove MySQL RPMs

when using RPM to manage your package on your system you can user  the following command to remove the  MySQL packages.

rpm –e MySQL*5.5*

If this command does not work you can use the following.
rpm –qa | grep –i MySQL|xargs rpm –e

How to install a MySQL RPM

first download the RPMs you want to install.
Once you downloaded the packages for a specific version, you can install the packages with the following command

rpm –i MySQL*5.5*
 



No comments:

Post a Comment