drush sqlq --file on remote server with local file Im trying to run run write a command where I can execute remote queries stored local.

I was trying:

drush @remote.master sqlq &lt; src/sql/data.sql


but no luck, also tried the option --file=path/to/file but it's only for remote files :(

Any ideas?
you should try with other command:

drush sql-sync --source-dump=src/sql/data.sql --target-db-url=mysql://remoteusername:remotepass@remoteserver/remotedatabase