On 02.05.2006 22:24 (+0100), Dan Buettner wrote:
> The easiest way might be to tell mysql in the config file where to 
> look for the data directory.
> 
> In your my.cnf file (typically /etc/my.cnf) under the [mysqld] section:
> 
> datadir = /Volumes/mysql-data/data

One of the main problems with a global config file is that I am running
two servers on the same machine (MySQL 4.0 and 5.0, each with separate
data directories of course). Currently I am using config files (my.cnf)
in each server's data directory, but telling the server about another
datadir inside that other datadir is obiously not reasonable.

-- 
Yves Goergen "LonelyPixel" <[EMAIL PROTECTED]>
http://beta.unclassified.de – My web laboratory.

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to