Having a pretty rough time getting php5 installed

Rainer Müller raimue at macports.org
Sun Aug 10 06:34:36 PDT 2008


Chris Janton wrote:
> On 2008-08-09 , at 16:38 , Rainer Müller wrote:
>> Can't comment on this one, I don't know if mysql5 is supposed to  
>> create
>> /opt/local/var/log/mysql5/.
>>
> 
> Why would it create it? It isn't needed to run mysql. The MySQL manual  
> states
> 
>   "By default, all log files are created in the mysqld data directory."
> 
> You can change the locations in my.cnf
> 
> I found the best location (for my systems) is /etc/my.cnf - all the  
> versions of mysql that I have
> used find the configuration there - built by Apple, built by MySQL,  
> built by MacPorts.

Yes, I am aware that the location can be changed. But why does the HOWTO 
about MAMP [1] in the wiki contain a reference to 
/opt/local/var/log/mysql5/ if it is not used? The information there is 
outdated or incorrect.

Rainer

[1] http://trac.macports.org/wiki/howto/MAMP


More information about the macports-users mailing list