Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Dec 2003 08:57:29 +1100
From:      "DG" <david@fielden.com.au>
To:        "'FreeBSD-questions'" <questions@FreeBSD.ORG>
Subject:   RE: MySQL question...
Message-ID:  <002b01c3b78c$f37a2a40$5401a8c0@borg.fielden.com.au>
In-Reply-To: <200311301754.09828.freebsd-questions@webteckies.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org
> [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of
> Melvyn Sopacua
> Sent: Monday, 1 December 2003 3:54 AM
> To: FreeBSD-questions
> Cc: Xpression
> Subject: Re: MySQL question...
>
<snip>
>
> All databases will go under /var/db/mysql and the quick and
> dirty answer is:
> mysql -e "GRANT ALL ON $dbname.* TO '$dbuser'@'localhost'
> IDENTIFIED BY
> '$userpasswd'"
>
> --
> Melvyn

Something I've wondered is why the default location for the MySQL databasi
is /var/db/mysql?  Yes /var/db seems to make sense, but most /var
filesystems would be fairly small.

Is it generally common practice to create a symbolic link to somewhere on,
say, /usr to store the databasi?

Dave



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002b01c3b78c$f37a2a40$5401a8c0>