コマンドライン上からMySQLへのDDLインポートは
mysql -u root -p <db_name> <<ddl_path>
インポートの際に
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE = InnoDB'
このエラーはmysqlのバージョンによる記法の違いが原因なので、対応する箇所を「ENGINE=InnoDB」に書き換える