Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 May 2002 12:26:51 +0200
From:      Vincent TOUGAIT <viny@gcu-squad.org>
To:        FREEBSD-questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Mysql323-server install question
Message-ID:  <20020529102651.GA3921@tchoubou.scientiae.net>
In-Reply-To: <20020529062756.E27057-100000@small.pukruppa.de>
References:  <20020528191954.GA13115@tchoubou.scientiae.net> <20020529062756.E27057-100000@small.pukruppa.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020529102651.GA3921>