Mysql

BSD baby bsdlap at hitmedia.com
Thu May 29 18:14:55 PDT 2003


> > 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 ??
> 
> I'd think mysql dump and restore would be the safest way and would
> allow some porting between different verions of MySQL.


Good point.  The mysqldump command you probably want is:

mysqldump -u YourUserName -p -A > alldb.mysql

That should dump all databases.


More information about the freebsd-questions mailing list