title: MySQL Table does not exist error, but it does exist
body: <p>Does anyone know under what conditions you can receive an <code>1146: Table '&lt;database&gt;.&lt;table&gt;' doesn't exist</code> error when your table does, in fact, exist?</p>
  
  <p>I use the same code on 5 servers, only one that I recently rented is showing this error, so I suspect it may be a settings or install error of some kind.  I can execute my sql statement from the command line just fine. I can, obviously, see the table from the command line as well. I don't get any connection errors when I establish a connection (I'm using mysqli, btw).</p>
  
  <p>Any help would be appreciated.</p>
  
  <p>exact query:</p>
  
  <pre><code>$sql = "SELECT DISTINCT(mm_dic_word) AS word FROM spider.mm_dictionary WHERE mm_dic_deleted=0";
  </code></pre>