Re: How Do I Uninstall MySQL?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On January 8, 2004 05:17 pm, Zhao, Charles wrote:
> Hello there,
>
> This might be an easy question for some of you, but I am trying to
> uninstall MySQL 3.2 that came with my RH Linux 8.0 (in order to install
> 4.0), and it's components are scattered in different directories.  Is
> there anyway (and the right procedure) to uninstall it?
>
> Thanks


Hi Charles,
It should be an rpm if it was from the onstall disks.
Check if it indeed an rpm:
rpm -qa|grep -i mysql  (inludes dev etc)

then remove all those with
rpm -e mysql-3.23.58-4 mysql-server-3.23.58-4 ...

If you just want to upgrade, unless mysql is fussy,
rpm -Fvh mysql-4xxx.rpm mysql-server-4xxx ....

You may have some dependencies depending on what all is installed, so you'll 
probably have a handful of packages to remove or upgrade. HAve a look at the 
man page for rpm, it does lots of tricks:-)
-- 
Pete Nesbitt, rhce


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux