From owner-freebsd-ports@FreeBSD.ORG Sat Sep 29 12:02:13 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 D58C516A41A for ; Sat, 29 Sep 2007 12:02:13 +0000 (UTC) (envelope-from yurtesen@ispro.net) Received: from mail.ispro.net (mail.ispro.net [87.251.0.19]) by mx1.freebsd.org (Postfix) with ESMTP id 4301E13C4B3 for ; Sat, 29 Sep 2007 12:02:12 +0000 (UTC) (envelope-from yurtesen@ispro.net) Received: (qmail 66793 invoked by uid 399); 29 Sep 2007 15:02:10 +0300 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on mail.ispro.net X-Spam-Level: X-Spam-Status: No, score=0.1 required=7.0 tests=RDNS_DYNAMIC autolearn=disabled version=3.2.3 X-Virus-Scan: Scanned by ClamAV 0.91.2 (no viruses); Sat, 29 Sep 2007 15:02:10 +0300 Received: from dsl-tkubrasgw1-fe26fa00-203.dhcp.inet.fi (HELO ?84.250.38.203?) (yurtesen@ispro.net@84.250.38.203) by mail.ispro.net with ESMTP; 29 Sep 2007 15:02:10 +0300 X-Originating-IP: 84.250.38.203 Message-ID: <46FE3EB5.5020108@ispro.net> Date: Sat, 29 Sep 2007 15:01:57 +0300 From: Evren Yurtesen User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Evren Yurtesen , freebsd-ports@freebsd.org References: <46FE2DF2.7050402@ispro.net> <20070929114453.GA87895@eos.sc1.parodius.com> In-Reply-To: <20070929114453.GA87895@eos.sc1.parodius.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: 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 12:02:13 -0000 Jeremy Chadwick wrote: > 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. > > I just think that the port maintainer should fix the message and it should say /usr/local/etc/my.cnf it might be confusing for people to see this warning. Thanks, Evren