“Can’t start server : Bind on unix socket: Permission denied”
“Can’t connect to local MySQL server through socket ‘/tmp/mysql.sock'”
Wow I found a lot of stuff on the net about this, but only two things helped because I was not using PHP:
- Check permissions on /tmp
Mine were user:user with user read only! Changed to root:wheel and sudo chmod a+w tmp. Bingo!
- You might need to add:
socket=/private/tmp/mysql.sock
to the [mysqld] section of /etc/my.cnf
Disk Utility Repair Permissions fixed this issue as well
That’s a reaaaaalllly old mysql install bug, come back to haunt us. sigh At least repair permissions catches it now. It used to be something you “just had to know” if you were running mysql on OSX.