title: MySQL error code 1005 errno -1
body: <p>I am trying to forward engineer a Workbench database like I have been doing. This time was different though, instead of working normally it gave me a strange error. </p>
  
  <pre><code>Error Code: 1005. Can't create table '~~~~~~~~~~~~~~~~~~~' (errno: -1)
  </code></pre>
  
  <p>I tried searching what errno -1 was but no luck. Anyone have a clue what this error message is trying to tell me?</p>
  
  <pre><code>CREATE  TABLE IF NOT EXISTS `database`.`User` (
  
  `Uid` MEDIUMINT UNSIGNED NOT NULL AUTO_INCREMENT ,
  
  `Username` VARCHAR(45) NOT NULL ,
  
  `Password` TINYTEXT NOT NULL ,
  
  `Avatar` TINYTEXT NULL ,
  
  `Status` CHAR(6) NOT NULL DEFAULT 'Active' COMMENT 'Active, Warned, Banned' ,
  
   PRIMARY KEY (`Uid`) )
  
    ENGINE = InnoDB;
  </code></pre>
  
  <p>There are other parts to it but it can't even get past ANY table creation. Also changed DB name, quite sure I spelled it correctly.</p>