Changed TYPE=MySQL to ENGINE=MySQL in SQL.
Now new MySQL versions can execute the SQL code.