Skip to content

Instantly share code, notes, and snippets.

@ryanjbonnell
Last active December 25, 2015 09:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanjbonnell/6954813 to your computer and use it in GitHub Desktop.
Save ryanjbonnell/6954813 to your computer and use it in GitHub Desktop.
Determine MySQL Socket Locations and Permissions on Mac OS X
$ ls -al /tmp/mysql.sock; ls -al /var/mysql/mysql.sock
lrwxr-xr-x 1 root wheel 21 Oct 12 13:45 /tmp/mysql.sock -> /var/mysql/mysql.sock
srwxrwxrwx 1 _mysql wheel 0 Oct 12 13:51 /var/mysql/mysql.sock
ls: /tmp/mysql.sock: No such file or directory
srwxrwxrwx 1 _mysql wheel 0 Oct 12 13:51 /var/mysql/mysql.sock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment