Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Oct 2000 11:29:29 +0300
From:      Alex Koshterek <havoc@lookanswer.com>
To:        Kazu Kimura <kimura@ctc.ad.jp>
Cc:        Emil Thelin <emil-t@display-umea.se>, freebsd-database@FreeBSD.ORG
Subject:   Re: Question on MySQL
Message-ID:  <00102511331300.71744@pro.lookanswer.com>
In-Reply-To: <20001025171846.3468.KIMURA@ctc.ad.jp>
References:  <20001025163220.3465.KIMURA@ctc.ad.jp> <00102510555600.71677@pro.lookanswer.com> <20001025171846.3468.KIMURA@ctc.ad.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
ср , 25 окт 2000, Kazu Kimura написал:
> On Wed, 25 Oct 2000 10:54:29 +0300
> Alex Koshterek <havoc@lookanswer.com> wrote:
> 
> > > 
> > 
> > Maybe mysql server find database in incorrect place?
> 
> Is following any conflict?
> 
> red# grep mysql /etc/passwd
> mysql:*:88:88:MySQL Daemon:/var/db/mysql:/sbin/nologin
> red# ls /var/db/mysql
> my.cnf  red.err
> 
> red# ls -l /usr/local/bin/mysql/data
> total 2
> drwx------  2 root  wheel  512 Oct 25 11:27 mysql
> drwx------  2 root  wheel  512 Oct 25 11:27 test
> 
> red# ls /usr/local/bin/mysql/data/mysql
> columns_priv.ISD        func.ISD                tables_priv.ISD
> columns_priv.ISM        func.ISM                tables_priv.ISM
> columns_priv.frm        func.frm                tables_priv.frm
> db.ISD                  host.ISD                user.ISD
> db.ISM                  host.ISM                user.ISM
> db.frm                  host.frm                user.frm
> 

By default mysql search databases in /var/db/mysql

Also in MySQL startup script you can write before starting server:

datadir=/path/to/your/databases

Alex


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-database" in the body of the message




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