mysql -u username -p database_name < sql_file.sql
Reference:
https://stackoverflow.com/questions/17666249/how-do-i-import-an-sql-file-using-the-command-line-in-mysql#answer-17666279Import SQL file to database command line
Command to import sql_file.sql into database_name