MySQL question...

DG david at
Sun Nov 30 13:57:58 PST 2003

> -----Original Message-----
> From: owner-freebsd-questions at
> [mailto:owner-freebsd-questions at]On Behalf Of
> Melvyn Sopacua
> Sent: Monday, 1 December 2003 3:54 AM
> To: FreeBSD-questions
> Cc: Xpression
> Subject: Re: MySQL question...
> All databases will go under /var/db/mysql and the quick and
> dirty answer is:
> mysql -e "GRANT ALL ON $dbname.* TO '$dbuser'@'localhost'
> '$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?


More information about the freebsd-questions mailing list