Awesome useful tool, I have coded a ssh script once before because I could never remember the correct syntax.

Code: 
echo "MySQL Username"
read username
echo "MySQL Database"
read database
echo "MySQL File"
read file
mysql -u $username -p $database < $file
Copy and Paste, save as: mysqlimport.sh - chmod +x 755 and sh mysqlimport.sh and follow the onscreen prompts, I should update my easy ssh tools.