mysql 5.1.21 config file location problem...

Evren Yurtesen yurtesen at ispro.net
Sat Sep 29 05:02:13 PDT 2007


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


More information about the freebsd-ports mailing list