[MySQL] Install difficulties : Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)

Ryan Schmidt ryandesign at macports.org
Sun Jun 24 21:19:14 PDT 2007


On Jun 24, 2007, at 18:46, paul beard wrote:

> On Jun 24, 2007, at 3:33 PM, paul beard wrote:
>
>> You might want to look in the archives to see where the socket lives
>> in a sandbox like MacPorts: I don't think it lives in /tmp.
>
> The socket is here [ /opt/local/var/run/mysql5/mysqld.sock ]

Correct.

> I can't get it working either ;-) I'm installing the whole mysql/ 
> php5/apache2 suite right now, so once that's done perhaps I'll be  
> in better shape.

What can't you get to work? What happens? Show us an error message...

> One thing I don't understand: is launchctl or daemondo supposed to  
> manage MySQL? Or do they work together, with launchctl calling the  
> stuff in daemondo? I seem to have have both and I would have  
> thought that launchctl could handle all that.

Daemondo is the MacPorts daemon wrapper. All MacPorts launchctl  
plists or startup items call daemondo, and daemondo calls, in this  
case, the mysql daemon.





More information about the macports-users mailing list