I'm importing an SQL file using phpMyAdmin and it breaks in the middle of import giving me the error "#2006 - MySQL server has gone away".

I believe it breaks while importing into the customer table and the SQL insert statement in the SQL file is very very long because it inserts many records in one statement. I understand that the person who exported the file should export it with separate inserts for each record.

But now that all I have is the exported SQL file, how do it get it into the database?