[svlug] Configuration question

David Hummel lemmuh at gmail.com
Fri Aug 28 11:12:57 PDT 2009


On Fri, Aug 28, 2009 at 1:48 PM, Ehud Kaldor<ehud.kaldor at gmail.com> wrote:
>
> Question is - how do I tell mysql to use a specific directory for the
> data(base)?

In /etc/mysql/my.cnf:

datadir = /path/to/some/dir/for/mysql

The default is probably /var/lib/mysql.  You can also relocate this
dir to the shared dir and make /var/lib/mysql a symlink to the new
location.




More information about the svlug mailing list