How to uninstall mysql on redhat linux version 5
Solution 1
Any reason not to use Yum?
yum erase mysql
will resolve the dependencies and show you every thing it would need to remove.
Solution 2
You can tell RPM to ignore dependencies and just rip stuff out with the --nodeps flag. I've had to do it in some cases, but make sure you reeeally understand what's depending on those packages.
Another neat trick is to run rpm -qa|grep <thing you want to uninstall>|xargs rpm -e
, that will remove all of the packages with "thing you want to uninstall" in the name. I;ve found a lot of times this helps alleviate dependencies if they're all related to the same install.
Solution 3
Try with:
yum remove mysql mysql-server
Solution 4
If you really wanted to remove an rpm without checking dependencies you can always use the --nodeps flag like so:
rpm -e mysql-5.0.77-4.el5_6.6 --nodeps
Related videos on Youtube
Reemor
Updated on September 18, 2022Comments
-
Reemor over 1 year
Every time I run this script:
document.getElementById("billTable").appendChild(nextRow) document.getElementById("billTable").appendChild(LISTname); document.getElementById("billTable").appendChild(LISTprice); document.getElementById("billTable").appendChild(LISTremove);
It creates:
<tr></tr><td>L - Meat Lovers Pizza</td><td>$6.70</td><td>X</td>
I am trying to make it so the TD tags are with in the TR.
-
zer00ne about 7 yearsI assume
billTable
is the<table>
, if so, you are targeting the wrong elkement, you must target the<tr>
-
jmoerdyk about 7 yearsYou need to append the
td
elements totr
not thetable
-
-
Avi Gurfinkel over 11 yearsNice command! I appreciate it.. It looks like its all pointing back to sendmail.. this is strictly going to be a db server but just wanted to start with a fresh install.
-
Univ426 over 11 yearsNo prob, just an fyi, if you still need it, --nodeps, or sometimes also, the --allmatches flag, they go at the end of that last command after -e - jus tin case people who find this don't already know.
-
Avi Gurfinkel over 11 yearsWell that did work quite cleanly!