title: MySQL permission errors after macOS Sierra update
body: <p>First, phpmyadmin is throwing dozens of errors when I try to do anything from it. (images at the bottom)</p>
  
  <p>Second, I tried creating a database from the command line and I got this:</p>
  
  <pre><code>mysql&gt; create database support;
  ERROR 13 (HY000): Can't get stat of './support' (Errcode: 13 - Permission denied)
  </code></pre>
  
  <p>From some googling of this error, I tried the <code>\! pwd;</code> command, and for some reason it points to one of my projects in the Documents folder:</p>
  
  <pre><code>mysql&gt; \! pwd;
  /Users/username/Documents/project-name
  </code></pre>
  
  <p>Any idea what is wrong?</p>
  
  <p><strong>Server version: 5.7.13 MySQL Community Server (GPL)</strong></p>
  
  <p>Thanks</p>
  
  <p><a href="https://i.stack.imgur.com/qOUQP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/qOUQP.png" alt="phpmyadmin error 1"></a></p>
  
  <p><a href="https://i.stack.imgur.com/iTa4J.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iTa4J.png" alt="phpmyadmin error 2"></a></p>