title: Can't create/write to file 'xxxx.txt' (Errcode: 13 - Permission denied)
body: <pre><code>mysql&gt; \T abc.txt
  ./mysql: Can't create/write to file 'abc.txt' (Errcode: 13 - Permission denied)
  Error logging to file 'logPremiereQueries.txt'
  </code></pre>
  
  <p>I meet the same problem when I use Windows 8. I solve it by running cmd (MySQL 5.6 Command Line Client) as administrator. And then I could easily find the position of abc.txt. However, in Mac OS X, I do not know how to change the permission. And if log to file successfully, where to find this 'abc.txt'? Any ideas? Thank you very much!</p>