Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Sep 2007 04:44:53 -0700
From:      Jeremy Chadwick <koitsu@FreeBSD.org>
To:        Evren Yurtesen <yurtesen@ispro.net>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: mysql 5.1.21 config file location problem...
Message-ID:  <20070929114453.GA87895@eos.sc1.parodius.com>
In-Reply-To: <46FE2DF2.7050402@ispro.net>
References:  <46FE2DF2.7050402@ispro.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Sep 29, 2007 at 01:50:26PM +0300, Evren Yurtesen wrote:
> I recently upgraded to 5.1.21 and received the following message:
>
> 070929 06:48:41 mysqld_safe WARNING: Found /var/db/mysql/my.cnf
> The data directory is a deprecated location for my.cnf, please move it to
> /usr/local/my.cnf
>
> FreeBSD configuration files are located in /usr/local/etc thus mysql should 
> be looking the file at /usr/local/etc/my.cnf
>
> Perhaps there is a mistake somewhere?

Or you could do what I do: keep your my.cnf in your mysql data directory
(e.g. rc.conf variable `mysql_dbdir', default is /var/db/mysql) and not
worry about it.

-- 
| Jeremy Chadwick                                    jdc at parodius.com |
| Parodius Networking                           http://www.parodius.com/ |
| UNIX Systems Administrator                      Mountain View, CA, USA |
| Making life hard for others since 1977.                  PGP: 4BD6C0CB |




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070929114453.GA87895>