I would like to import a 350MB MySQL .sql file on a Windows 7 machine. I usually do this by using
mysql -uuser -p -e \"source c:/path/to/file.sql\" database
I'd suggest to also have a look at this SO answer, that takes advantage of source SQL command:
source