[kwlug-disc] wiping out the initial configuration of mysql?
kb at 2bits.com
Tue Feb 16 14:39:25 EST 2010
If this was Debian, I would do this:
# dkg -L mysql-server
This will give me a list of files and directories that the package users.
I then inspect it carefully, and write a script that will purge them. Be
careful not to purge stuff that could be shared by other packages.
# aptitude purge mysql-server
This removes the package and all its binaries and hopefully configuration.
But will not remove data.
This is the script I wrote earlier, which does remove data.
Now I can do this again.
# aptitude install mysql-server
There are equivalents for RPM, such as rpm -qil (it has been a while ...)
Khalid M. Baheyeldin
Drupal optimization, development, customization and consulting.
Simplicity is prerequisite for reliability. -- Edsger W.Dijkstra
Simplicity is the ultimate sophistication. -- Leonardo da Vinci
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the kwlug-disc