title: Where error in add FOREIGN KEY in phpmyadmin?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/459312/setting-up-foreign-keys-in-phpmyadmin">Setting up foreign keys in phpMyAdmin?</a>  </p>
  </blockquote>
  
  
  
  <pre><code>ALTER table podcategory add FOREIGN KEY (category_id) 
             REFERENCES category(category_id)
  ON UPDATE RESTRICT
  ON DELETE CASCADE
  </code></pre>
  
  <p>When i send script in phpmyadmin i get error</p>
  
  <pre><code>Can't create table './C292729_T25027/#sql-be0_30ed238.frm' (errno: 150)
  </code></pre>
  
  <p>How to add this FOREIGN KEY?</p>