On Thu, May 29, 2003 at 06:08:53PM +0200, Ian Barnes wrote:
> Hi,
> 
> I want to remove my mysql installation and re-install from scratch. Now the
> problem. I have 6 active databases. How can i make sure that i dont loose
> those. And that when i have re-installed, that they work immediatilly ??
fwiw you can simply do:
cd /var/db
mv mysql mysql.bak
(uninstall/reinstall w/e mysql)
rm -fr /var/db/mysql
mv /var/db/mysql.bak /var/db/mysql

afaik using something as complicated as tar to archive the dbs first
isn't necessary - mv retains the permission settings fine.
_______________________________________________
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to