You can always set temporarily the mysql global system variable 'foreign_key_checks' to off/zero value by following command line before running the database creation script.
mysql --host=localhost --user=USER --password -e "SET GLOBAL foreign_key_checks=0"
It is not secure to type the password on the command line. Omitting it and only specifying --password
rather than --password=MYPATH
will force the system to ask the user for it before proceeding.