MAMP setup with Macports?

Thomas Allen thomasmallen at gmail.com
Wed Nov 21 06:22:59 PST 2007


Juan Manuel Palacios wrote:
>>
>> 11/21/07 7:57:19 PM org.macports.mysql5[1531] Starting MySQL
>>
>> /*** not sure if these are relevant ***/
>>
>> 11/21/07 7:57:19 PM com.apple.launchd[1] (0x10dfa0.nohup[1553]) Could 
>> not setup Mach task special port 9: (os/kern) no access
>> 11/21/07 7:57:19 PM com.apple.launchd[1] (0x10dfa0.nohup[1554]) Could 
>> not setup Mach task special port 9: (os/kern) no access
>> 11/21/07 7:57:19 PM com.apple.launchd[1] (0x10dfa0.nohup[1559]) Could 
>> not setup Mach task special port 9: (os/kern) no access
> 
> 
>     Don' t know, but wouldn't say it's related.
> 
>>
>>
>> /*** end of not sure part ***/
>>
>> 11/21/07 7:57:20 PM org.macports.mysql5[1531] .
>> 11/21/07 7:57:21 PM org.macports.mysql5[1531] .
>> 11/21/07 7:57:22 PM org.macports.mysql5[1531] 
>> /opt/local/share/mysql5/mysql/mysql.server: line 159: kill: (1540) - 
>> No such process
>> 11/21/07 7:57:22 PM org.macports.mysql5[1531]  ERROR!
> 
> 
>     Definitely related. Do a "port cat mysql5" and read the message that 
> should have been output to you right at the end of the installation 
> process: you need to run "sudo -u ${mysqluser} mysql_install_db5" in 
> order to initialize the MySQL server before you can even attempt to run 
> it, where ${mysqluser} is the name of the user that will handling your 
> database chores on your system (most likely '_mysql' on Leopard). Once 
> you do that, you can try starting the server manually with "sudo 
> /opt/local/share/mysql5/mysql/mysql.server start" and work your way from 
> there depending on your particular setup (creating new users, editing 
> the cnf file, whatever). After that you should be able to run MySQL5 at 
> boot time by enabling the Launchd plist we install.
> 
>     Regards,...
> 
> 
> -jmpp
> 
> _______________________________________________
> macports-users mailing list
> macports-users at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo/macports-users
> 

I figured it out! I'll mail two great links to this list as soon as I 
get the chance.

Thomas


More information about the macports-users mailing list