[plug] how do I remove certain packages

Adam Ashley adam_ashley at softhome.net
Sat Jan 7 18:14:29 WST 2006


On Sat, 2006-01-07 at 17:59 +0800, Jon Miller wrote:
> My mysql database (main one) is possibly hosed as the syslog reports an error opening host.MYI. In the event I have to uninstall and reinstall I do not want to have anything left over from the existing install.  Just rather start fresh.
> 
> Jon
> 

If thats all your after then do the following

- Stop your database server.
  /etc/init.d/mysql stop

- Remove everything from the mysql data dir
  rm -rf /var/lib/mysql/*

- Run mysql_install_db to reinitialise the MySQL databases.

There good as new install

Adam Ashley



More information about the plug mailing list