Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Sep 2007 15:01:57 +0300
From:      Evren Yurtesen <yurtesen@ispro.net>
To:        Evren Yurtesen <yurtesen@ispro.net>,  freebsd-ports@freebsd.org
Subject:   Re: mysql 5.1.21 config file location problem...
Message-ID:  <46FE3EB5.5020108@ispro.net>
In-Reply-To: <20070929114453.GA87895@eos.sc1.parodius.com>
References:  <46FE2DF2.7050402@ispro.net> <20070929114453.GA87895@eos.sc1.parodius.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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