From owner-freebsd-questions Wed May 29 3:27: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from tchoubou.scientiae.net (hash-group.net [62.4.18.170]) by hub.freebsd.org (Postfix) with ESMTP id 3070137B40E for ; Wed, 29 May 2002 03:26:53 -0700 (PDT) Received: by tchoubou.scientiae.net (Postfix, from userid 1000) id 96E10491; Wed, 29 May 2002 12:26:51 +0200 (CEST) Date: Wed, 29 May 2002 12:26:51 +0200 From: Vincent TOUGAIT To: FREEBSD-questions Subject: Re: Mysql323-server install question Message-ID: <20020529102651.GA3921@tchoubou.scientiae.net> References: <20020528191954.GA13115@tchoubou.scientiae.net> <20020529062756.E27057-100000@small.pukruppa.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020529062756.E27057-100000@small.pukruppa.de> User-Agent: Mutt/1.3.28i X-Operating-System: FreeBSD 4.5-RELEASE X-GROUP: GCU-SQUAD X-URL: http://www.gcu-squad.org/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Wed, May 29, 2002 at 06:29:33AM +0000 or thereabouts, Peter Ulrich Kruppa may have written : > > mkdir: cannot make directory `/var/db/mysql': File exists > > mkdir: cannot make directory `/var/db/mysql/mysql': File exists > > mkdir: cannot make directory `/var/db/mysql/test': File exists > What happens when you just > # mkdir /var/db/mysql > and then > # make install > ? Well, the mysql_install_db run just fines, but some things like the mysql user/group that are handled by the "make install" are missing. And if I run this one, it considers that I already have a db, so it tells me : In order to preserve your existing data, you should: - dump all your databases - kill mysql if it is running - delete the /var/db/mysql directory - run 'make install' ... My guess is that I can still edit the Makefile to remove the check of existing dbs... But it isn't very clean and I'd like to understand why it acts so... Vincent To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message