MySQL question...

DG david at fielden.com.au
Sun Nov 30 13:57:58 PST 2003


> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at 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



More information about the freebsd-questions mailing list