On Aug 9, 2008, at 18:17, Scott Haneda wrote:

>> I would recommend to use everything from MacPorts. We have a HOWTO
>> for setting up Apache, MySQL and PHP:
>> <http://trac.macports.org/wiki/howto/MAMP>
>
> With this all up and running, where is my.cnf read from? I only find
>
> /local/var/macports/sources/rsync.macports.org/release/ports/ 
> databases/
> mysql4/files/my.cnf
>
> That seems to be for mysql 4, not 5.  I can find a copy of the version
> 5, but where do I put it? Or do I add a parameter to the launcd plist
> in the array and tell it to locate it where I want?

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.

_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to