If this was Debian, I would do this:<br><br># dkg -L mysql-server<br>This will give me a list of files and directories that the package users.<br>I then inspect it carefully, and write a script that will purge them. Be<br>
careful not to purge stuff that could be shared by other packages.<br><br># aptitude purge mysql-server<br>This removes the package and all its binaries and hopefully configuration.<br>But will not remove data.<br><br># clean-script.sh<br clear="all">
This is the script I wrote earlier, which does remove data.<br><br>All done.<br><br>Now I can do this again.<br># aptitude install mysql-server<br><br>There are equivalents for RPM, such as rpm -qil (it has been a while ...)<br>
-- <br>Khalid M. Baheyeldin<br><a href="http://2bits.com">2bits.com</a>, Inc.<br><a href="http://2bits.com">http://2bits.com</a><br>Drupal optimization, development, customization and consulting.<br>Simplicity is prerequisite for reliability. --  Edsger W.Dijkstra<br>
Simplicity is the ultimate sophistication. --   Leonardo da Vinci<br>