title: MySQL error with homebrew on OSX 10.8
body: <p>I've tried every solution posted here after running brew install mysql, and still no luck. On trying to start MySQL I get this:</p>
  
  <pre><code>me$ mysql.server start
  Starting MySQL
  . ERROR! The server quit without updating PID file (/usr/local/mysql/data/cpe-98-14-179.159.nyc.res.rr.com.pid).
  </code></pre>
  
  <p>Or this:</p>
  
  <pre><code>me$ mysql
  ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (13)
  </code></pre>
  
  <p>etc/my.cnf looks like this:</p>
  
  <pre><code>me$ sudo nano etc/my.cnf
  Password:
  
  [mysqld]
  datadir=/usr/local/mysql/data
  socket=/var/lib/mysql/mysql.sock
  
  
  [mysql.server]
  user=mysql
  basedir=/usr/local/mysql
  
  
  [client]
  socket=/var/lib/mysql/mysql.sock
  </code></pre>
  
  <p>Are my permissions wrong? Is it possible my directories are messed up? If I could wipe everything clean and install from the website I'd try that at this point. Any help is MUCH appreciated!</p>