For those using a Windows OS, I was able to import a large mysqldump file into my local XAMPP installation using this command in cmd.exe
:
C:\xampp\mysql\bin>mysql -u {DB_USER} -p {DB_NAME} < path/to/file/ab.sql
Also, I just wrote a more detailed answer to another question on MySQL imports, if this is what you're after.