From owner-freebsd-ports@FreeBSD.ORG Sat Sep 29 11:44:53 2007 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6CABD16A41A for ; Sat, 29 Sep 2007 11:44:53 +0000 (UTC) (envelope-from jdc@parodius.com) Received: from mx01.sc1.parodius.com (mx01.sc1.parodius.com [72.20.106.3]) by mx1.freebsd.org (Postfix) with ESMTP id 5F73313C4A5 for ; Sat, 29 Sep 2007 11:44:53 +0000 (UTC) (envelope-from jdc@parodius.com) Received: by mx01.sc1.parodius.com (Postfix, from userid 1000) id 2C62C1CC02F; Sat, 29 Sep 2007 04:44:53 -0700 (PDT) Date: Sat, 29 Sep 2007 04:44:53 -0700 From: Jeremy Chadwick To: Evren Yurtesen Message-ID: <20070929114453.GA87895@eos.sc1.parodius.com> Mail-Followup-To: Evren Yurtesen , freebsd-ports@freebsd.org References: <46FE2DF2.7050402@ispro.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <46FE2DF2.7050402@ispro.net> User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-ports@freebsd.org Subject: Re: mysql 5.1.21 config file location problem... X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Sep 2007 11:44:53 -0000 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 |