Below are the commands for Linux.
If you have shell (command-line) access, use MySQL to import the files directly. You can do this by issuing the "source" command:
$su -Once you have entered the password to your MySQL username, the restoration process will soon begin.
# mysql -u