SET UNIQUE_CHECKS=0;
SET FOREIGN_KEY_CHECKS=0;
SET FOREIGN_KEY_CHECKS=1;
SET UNIQUE_CHECKS=1;
Are you upload importing? That's suicide.
1.) Login via FTP, and upload the .sql file into the first directory you land in. Don't change directories.
2.) Open up Putty, and connect to your server. No username needed.
3.) Once connected, you'll be prompted to enter your username & password.
4.) Once logged in, type:
mysql -u USERNAME -p PASSWORD DBNAME < filename.sql
5.) Delete the .sql file from your server.
6.) Enjoy your new database!