title: Can't Restart MySQL After Editing my.cnf on Mac OS X 10.8.3
body: <p>I am trying to enable logging on MySQL on my Mac, OS X version 10.8.3.</p>
  
  <p>Everywhere I searched, I get the same answer, i.e. to add the following to my.cnf:</p>
  
  <pre><code>[mysqld]
  general_log=1
  log=/var/log/mysql-query.log
  </code></pre>
  
  <p>and then restart mysql.</p>
  
  <p>Permissions on the log file are correct and owner is _mysql like all other MySQL files.</p>
  
  <p>However, doesn't matter how much I try, once my.cnf has been modified, MySQL won't restart. It would only shutdown and that's it. Via command line or via Preferences Pane, it won't start again.</p>
  
  <p>I tried enabling log vie Workbench too, but as soon as log=... entry goes into my.cnf, MySQL refuses to start. I have to manually delete this entry to start MySQL.</p>
  
  <p>Can anybody please guiding me on how to enable logging for MySQL on OS X 10.8.3?</p>