title: Facing this Error : myisamchk: error: File '/var/lib/mysql/bugs/*.MYI' doesn't exist on Ubuntu
body: <p>Recently i tried to run <a href="https://dev.mysql.com/doc/refman/5.0/en/myisamchk.html" rel="nofollow">myisamchk</a> Maintenance Utility program with some tables under myisam storage engine and i follow  this <a href="http://www.thegeekstuff.com/2008/09/how-to-repair-corrupted-mysql-tables-using-myisamchk/" rel="nofollow">tutorial</a> and got errors that i was unable to figure out.</p>
  
  <p>on terminal i type this command and got this error:</p>
  
  <pre><code> sudo myisamchk  /var/lib/mysql/bugs/*.MYI &gt;&gt; /home/mysqlTestingFiles/myisamchk_log.txt
   myisamchk: error: File '/var/lib/mysql/bugs/*.MYI' doesn't exist
  </code></pre>
  
  <p>I also manually looked for this <em>/var/lib/mysql/<strong>bugs</em></strong> folders But did not find it there!
  is this <strong>bugs</strong> folder should be inside that location by default?
  so, how can i resolve this problem?
  let me know for further information.Thanks.</p>
  
  <p>After getting useful comments, i try this code and it worked for <strong>a specific table</strong> <code>sudo myisamchk /var/lib/mysql/test_database/student.MYI &gt;&gt; /home/mysqlTestingFiles/myisamchk_log.txt</code> 
  But I want to check all the .MYI files with this code and got error:</p>
  
  <pre><code>sudo myisamchk /var/lib/mysql/test_database/*.MYI &gt;&gt; /home/mysqlTestingFiles/myisamchk_log.txt 
  myisamchk: error: File '/var/lib/mysql/test_database/*.MYI doesn't exist 
  </code></pre>
  
  <p>Why its not working for all .MYI files stored in Database.Please reply.Thanks</p>