Running MacPorts MySql on a different port

William Siegrist wsiegrist at apple.com
Wed May 21 16:20:24 PDT 2008


On May 21, 2008, at 4:14 PM, Thomas Hagedorn wrote:

>
> 1.  How do I configure the launchd or org.macports.mysql5.plist  
> files so
> that the port 3307 is chosen when mysql starts automatically at
> startup?  The problem seems to be passing --port=3307 to the
> mysql.server program doesn't work.
>

In your my.cnf file, you can specify port=3307 in the [mysqld] section.

http://dev.mysql.com/doc/refman/5.0/en/option-files.html

-Bill

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2421 bytes
Desc: not available
Url : http://lists.macosforge.org/pipermail/macports-users/attachments/20080521/b68d44b9/attachment.p7s 


More information about the macports-users mailing list