Changed TYPE=InnoDB to ENGINE=InnoDB, to be compliant with MySQL 5.1