You can skip it at the connection level
I.e.: mysql --init-command="SET SESSION FOREIGN_KEY_CHECKS=0;" ...
REF - https://dev.mysql.com/doc/refman/8.0/en/mysql-command-options.html#option_mysql_init-command
https://stackoverflow.com/questions/15938786/disabling-foreign-key-checks-on-the-command-line
Regards,
Oury