title: Error Code: 23 Out of resources when opening file
body: <p>When I execute a query in MySQL, I get this error:</p>
  
  <blockquote>
    <p>Error Code: 23<br>
    Out of resources when opening file '.\test\sample_table#P#p364.MYD' (Errcode: 24 - Too many open files)</p>
  </blockquote>
  
  <p>MySQL version details:</p>
  
  <pre><code>VERSION                   5.6.21 
  version_comment           MySQL Community SERVER (GPL)
  version_compile_machine   x86_64
  version_compile_os        Win64
  </code></pre>
  
  <p>How to solve this problem?</p>