Wednesday, September 19, 2012

/tmp/mysql.sock not found on Mac OS 10.8.1

  1. Step 1 Kill all the mysql processes you have
    ps aux | grep mysql sudo kill -9 PROCESS_ID
  2. Step 2 Find your mysql.sock file
    locate mysql.sock
  3. Step 3 User this file to symlink to /tmp/mysql.sock
    ln -s /private/var/mysql/mysql.sock /tmp/mysql.sock

No comments:

Post a Comment