Importing large mysql database files

I’mĀ using sed to replace header/mysql create database name and use database. sed -i ‘1,30 s/`parser`/`server_parser`/’ new_parser.sql The above command edits the file in place ( -i ) option. Replaces in the first 1-30 linesĀ  any `parser` with `server_parser`. If this doesn’t work for importing this huge 10 gig sql file im going to use tail