mysql -u root -p #And insert password ;)
$ mysql -h "server-name" -u "your_username" -p "your_password" "database-name" < "filename.sql"