From owner-freebsd-questions@FreeBSD.ORG Thu May 29 18:14:54 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E718737B401 for ; Thu, 29 May 2003 18:14:54 -0700 (PDT) Received: from mail.hitmedia.com (mail.hitmedia.com [205.162.11.163]) by mx1.FreeBSD.org (Postfix) with SMTP id 550CF43FBD for ; Thu, 29 May 2003 18:14:54 -0700 (PDT) (envelope-from bsdlap@hitmedia.com) Received: (qmail 39447 invoked by uid 0); 30 May 2003 01:14:56 -0000 Date: Thu, 29 May 2003 18:14:56 -0700 From: BSD baby To: Olivier Nicole Message-ID: <20030530011456.GA39366@mail.hitmedia.com> References: <200305300040.HAA10310@banyan.cs.ait.ac.th> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200305300040.HAA10310@banyan.cs.ait.ac.th> User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org Subject: Re: Mysql X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 May 2003 01:14:55 -0000 > > 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.