In a Mac I open the Terminal and type this command to connect to a remote database:
/Applications/MAMP/Library/bin/mysql -h hostDb -u userDb -p nameDb
I get the connection and then I need to add a table loading a .sql file located in my computer.
I'm already connected to the remote database but what is the command to load mySql.sql ? The file path is /Documents/mySql.sql.