title: Database corruption with MariaDB : Table doesn't exist in engine
body: <p>I'm in an environement setup, running OSX with <code>MariaDB 10.0.12-MariaDB Homebrew</code></p>
  
  <p>I've screwed up the installation so I did completely removed MySQL and MariaDB from my setup and started again.</p>
  
  <p>After finishing installing MariaDB, I've reimported my databases (<code>innoDB</code>) via a DB Dump from the production server. It worked fine.
  After a reboot, the day after, I can no longer access to the databases : </p>
  
  <p><code>Table 'my.table' doesn't exist in engine</code></p>
  
  <p>What's causing this and what's the solution ? I do see the structure of my database, but when I try to access it, it gives me this error message.</p>
  
  <p>I did try <code>mysql-upgrade --force</code> and deleting <code>rm ib_logfile1 ib_logfile0</code></p>
  
  <p>The data loss is not a problem here, the problem is that I can't spend 30 minutes on re-installing each database each time I do a reboot.</p>
  
  <p>Here's some logs :</p>
  
  <pre><code>140730  9:24:13 [Note] Server socket created on IP: '127.0.0.1'.
  140730  9:24:14 [Note] Event Scheduler: Loaded 0 events
  140730  9:24:14 [Warning] InnoDB: Cannot open table mysql/gtid_slave_pos from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
  140730  9:24:14 [Warning] Failed to load slave replication state from table mysql.gtid_slave_pos: 1932: Table 'mysql.gtid_slave_pos' doesn't exist in engine
  140730  9:24:14 [Note] /usr/local/Cellar/mariadb/10.0.12/bin/mysqld: ready for connections.
  Version: '10.0.12-MariaDB'  socket: '/tmp/mysql.sock'  port: 3306  Homebrew
  140730 16:26:28 [Warning] InnoDB: Cannot open table db/site from the internal data dictionary of InnoDB though the .frm file for the table exists. See http://dev.mysql.com/doc/refman/5.6/en/innodb-troubleshooting.html for how you can resolve the problem.
  </code></pre>