hello there

if you have a mysql file with extension .sql you can import it very easy with this command from the linux shell prompt:

mysqldump db_name > mysql-file.sql


if you were expecting something more complicated, i am sorry to disappoint you. but its very easy.