title: Error Code: 1146. but Table does exist
body: <p>Using MySql 5.5.20 on OSX 10.8.3</p>
  
  <p>I'm restoring a mysql dump from another server using the same major version (5.5)
  There are a bunch of table CREATE and INSERT statements, then towards the end there are some Triggers defined.</p>
  
  <p>When executing the line:</p>
  
  <pre><code>/*!50003 CREATE*/ /*!50017 DEFINER=`root`@`localhost`*/ 
  /*!50003 `TRIGGER delete_po_items AFTER DELETE ON CRM_PURCHASEORDER   
  FOR EACH ROW BEGIN  DELETE FROM CRM_PO_ITEM 
   where CRM_PO_ITEM.PURCHASEORDER_ID = OLD.PURCHASEORDER_ID; END */
  </code></pre>
  
  <p>I get the error:</p>
  
  <pre><code>Error Code: 1146. Table 'crm.CRM_PURCHASEORDER' doesn't exist`
  </code></pre>
  
  <p>But the table CRM_PURCHASEORDER <strong><em>does</em></strong> exist..
  It even has around 2000 rows of data.</p>
  
  <p>Due to IP issues I cannot post the original dump, and I haven't had any luck reproducing a minimal test case.</p>
  
  <p>Any hint what could cause this?  I saw some other similar postings on SO, but haven't had luck finding a solution that works for me.</p>