if cyphers suggestion doesnt work - which can happen.
Code:
mysql -u root -p -h localhost databasename < C:\larger-sql-file.sql
mysql = mysql command, for linux it should work just in shell if your shell has loaded variables. Windows you would need to cd to where mysql.exe is.
-u = username flag
root = your root username
-p = password flag
-h = hostname flag
localhost = the host that has mysql running
databasename = database name
< = import
C:\larger-sql-file.sql = your file, this would be different in linux.
this command should prompt you for your root's password
depending on your ram, cpu, mysql allocated ram and optimizations it will take some time.