title: MY SQL - Error Code: 1010. Error dropping database (can't rmdir; errno: 13)
body: <p>When trying to drop a database in MySQL</p>
  
  <pre><code>'DROP DATABASE IF EXISTS temporarydata'
  </code></pre>
  
  <p>I am getting the following error </p>
  
  <pre><code>Error Code: 1010. Error dropping database (can't rmdir '.\temporarydata', errno: 13)
  </code></pre>
  
  <p>I have researched into this and I think it may be a permission issue, however all the fixes I have found have been for linux computers. Has anyone got any idea how to sort this out in windows 7? </p>