Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    can't uninstall mysql 3 from red hat linux

    Dear all,

    I'm using Red Hat Linux 9.0 for my company where below is the kernel version

    2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003

    Recently I accidentally deleted all user acc in the mysql module (using webmin) and I can't do anything with the database. So I decided to uninstall it.

    I use rpm -e <package name> to uninstall few related rpm...until left with below rpms that i couldn't remove it.

    [root@server]# rpm -e perl-DBD-MySQL-2.1021-3
    error: Failed dependencies:
    perl-DBD-MySQL is needed by (installed) mysql-3.23.58-1.9

    [root@server]# rpm -e mysql-3.23.58-1.9
    error: Failed dependencies: is needed by (installed) perl-DBD-MySQL-2.1021-3

    Pls advise as I wanted to install mysql 4.0 so that i can use cypheus.

    Pls help

  2. #2
    i used to kill them all at once, (i don know any better way of doing this ... )

    rpm -e perl-dbd-mysql myslqclient mysql-server mysql-blablabla

    or rpm -e --nodeps mysqlsqlserver

    but i don't know is there any side effect if it is removed the --nodeps way.... so play it safe, rpm -e pkg1 pkg2 pkg3

    hope this helps

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts