If you want to import large sql file to mysql via terminal, here are the steps:
First go to terminal, for Linux (UBNTU) user can go directly by pressing Ctrl-Alt-t key.
Now write down the following commands in Terminal.
mysql -u <userna...