Replace type=innodb with engine=innodb as type is deprecated and some other issue where --- was treated as an invalid comment.