Installing Mysql5 port on top of an existing mysql5 on Leopard and using Rails

Ryan Schmidt ryandesign at macports.org
Thu Apr 30 10:15:02 PDT 2009


On Apr 30, 2009, at 12:03, Chris Janton wrote:

>>> The sample my.cnf file has this at the top...
>>
>> Where did you find that sample my.cnf file?
>
> /opt/mports/trunk/dports/databases/mysql4/files/my.cnf

You probably shouldn't refer to that file; it's for MySQL 4. The  
my.cnf files included with MySQL 5 can be found thus:

$ port contents mysql5 | grep cnf
   /opt/local/share/mysql5/mysql/my-huge.cnf
   /opt/local/share/mysql5/mysql/my-innodb-heavy-4G.cnf
   /opt/local/share/mysql5/mysql/my-large.cnf
   /opt/local/share/mysql5/mysql/my-medium.cnf
   /opt/local/share/mysql5/mysql/my-small.cnf
$




More information about the macports-users mailing list