[NBLUG/talk] How to uninstall mySQL? Any expert can help?

Johnson Leung jmlleung at yahoo.com
Tue Mar 30 10:34:01 PST 2004


Yes, I did notice that. In fact, I actually used grep -i mysql. Sorry for
the typo.

After I re-install,
# rpm -i MySQL-server-4.0.18-0.i386.rpm
# rpm -qa | grep -i mysql

I only have two packages: MySQL-client-4.0.18-0 and MySQL-server-4.0.18-0.

But I think there are other packages that I am missing, such as:
mysql-server-3.23.54a-11
libdbi-dbd-mysql-0.6.5-5
MySQL-python-0.9.1-6
mod_auth_mysql-1.11-12
php-mysql-4.2.2-17
qt-MySQL-3.1.1-6
MyODBC-2.50.39-11
mysql-devel-3.23.54a-11
perl-DBD-MySQL-2.1021-3
mysql-3.23.54a-11

How can I install those? 

BTW, is there any use of the Desktop Add or Remove Application?

Thanks,
Johnson

-----Original Message-----
From: talk-admin at nblug.org [mailto:talk-admin at nblug.org] On Behalf Of Dustin
Mollo
Sent: Tuesday, March 30, 2004 7:51 AM
To: talk at nblug.org
Subject: Re: [NBLUG/talk] How to uninstall mySQL? Any expert can help?

On Tue, Mar 30, 2004 at 01:10:35AM -0800, Johnson Leung wrote:
> Hi,
> 
> I am running Red Hat Linux 9. I was trying to uninstall mySQL and
> re-installing it again. I tried 
> rpm -e MySQL-server-4.0.18.0.i386.rpm
> 
> It said there are some dependencies. So I did:
> rpm -qa | grep mysql
> rpm -e -nodeps MySQLxxx where MySQLxxx are the dependency modules

[snip]

the big thing that seems to be tripping you up here, is that unix/linux is
case-sensitive.  notice that you did a grep on an all lower-case pkg name,
and you did a removal on an upper-case pkg name.  try doing a "grep -i" on
that rpm -qa output - i bet you'll find your other mysql pkgs.  in fact,
further down your message (that part i snipped), you even got an error that
told you the pkg name that was installed (mysql-server.)

good luck,

-dustin
_______________________________________________
talk mailing list
talk at nblug.org
http://nblug.org/mailman/listinfo/talk




More information about the talk mailing list