Having a pretty rough time getting php5 installed
Ben Greenfield
ben at cogs.com
Mon Aug 11 07:25:54 PDT 2008
On Aug 11, 2008, at 10:20 AM, Chris Janton wrote:
> On 2008-08-10 , at 17:50 , Ryan Schmidt wrote:
>
>> The preferred location for my.cnf for MacPorts mysql5 is /opt/local/
>> etc/mysql5/my.cnf. Or it will read /etc/my.cnf if present.
>> Sample configuration files are provided in /opt/local/share/mysql5/
>> mysql which you can copy to create your own config.
>
>
> How is it "preferred" over any other location?
It's a question of style. If only Apple stores things in /etc/ then
Apple can't stomp on your install. If everything MacPorts related is
installed under /opt/, /opt/ can be blown-away without effecting other
non MacPorts install.
The idea is crisp clear lines of delineation to help one manage their
computer.
Thanks,
Ben
>
>
> By convention all MacPorts is in /opt/local.
> The MacPorts version of MySQL will look in /opt/local/etc for my.cnf
>
> By observation all versions of MySQL (Apple, MySQL, MacPorts, Fink,
> etc.) will also look in /etc/ for my.cnf.
>
> If you want to keep your my.cnf in a place that all versions will
> find, MacPorts installed or not, it is far
> easier to keep the configuration in /etc - you get "bit" a lot less
> that way ;-)
>
>
> 8)
> ----------------------------------
> Chris Janton - face at CentosPrime dot COM
> Netminder for Opus1.COM
>
>
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
More information about the macports-users
mailing list