title: Error while restoring MYSQL db
body: <p>Following error occurs when I am trying to restore a DB in MYSQL via putty.</p>
  
  <p>Command:  <code>mysql -u root -p db1&lt;dbname.sql ;</code></p>
  
  <blockquote>
    <p>ERROR 1 (HY000) at line 7904: Can't create/write to file
    './<em>dbname</em>/db.opt'     (Errcode: 2)</p>
  </blockquote>
  
  <p>What is the reason?</p>