MAMP setup with Macports?
Takashi Yoshida
tyoshida at mac.com
Wed Nov 21 07:21:29 PST 2007
On Nov 21, 2007, at 9:57 PM, 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
>
Hi,
That did it. Thanks a lot!
I just have this funny feeling that I didn't have to do the 'sudo -u
mysql mysql_install_db5' before... I'm not sure why I get that idea.
Anyway, I got it to work now. :-)
--
Takashi Yoshida
tyoshida [at] mac [dot] com
More information about the macports-users
mailing list