Can't import .sql file
As I said in my comments above your issue comes from a small tmp dir. There are many answers on stackoverflow concerning this. Here is 1

https://stackoverflow.com/a/1067521/716691

And here's how to change mysql tmp dir temporarily without editing my.cnf. Make sure you create a tmp dir somewhere with enough available space. 

https://stackoverflow.com/a/21853110/716691