I recently upgraded to the new MacBook Pro and was unable to install MySQL for installation. I tried to install with:
MySQL-5.5.8-osx10.6-x86_64.dmg
which "should" work on my machine, but it is not. After installing the three parts (mysql.pkg, startup.pkg, prefpane) I get nothing. Attempting to start MySQL through prefpane stops sysprefs. An attempt to start through the terminal receives this error:
ERROR 2002 (HY000): cannot connect to local MySQL server through socket '/tmp/mysql.sock' (2)
Therefore, I deleted all mysql installation files and reinstalled following these instructions:
https://discussions.apple.com/message/12820394
when I get to the step where I set the root password, I get the following error:
error: "Cannot connect to the local MySQL server through the socket" /tmp/mysql.sock "(2)" Check if mysqld is running and if the socket exists: /tmp/mysql.sock "!
Perhaps this is due to the fact that there are no mysql related files in / tmp? I can’t find * .sock on my machine at all. I'm really not very good at server administration, so I can be completely confused and be here.
source
share