MySQL – Import .sql file via command line specifying host and port

mysql --port=3307 --host=localhost -uroot -p database_name < "D:\arvil\Downloads\the_dump.sql"