I’ve had similar troubles before, but am no expert by any means.
For me, the use of engine/type was restrictive due to the version of MySQL I was using. Some google searching might be a good thing there, or take a look at the docs. Also, check that InnoDB is supported.
I remember reading somewhere that there was a bug with that anyway. Perhaps, if all tables are the same type, set the database default to innodb and then remove the engine statement (I might be leading you down the garden path here...).
For me, although I doubt it’s the same problem, swapping ENGINE= for TYPE= did the trick.
I think it’s clear that I’m just stabbing in the dark, but perhaps they’ll give you some ideas to research!