The command line
echo select * from tt.table1 > script.sql
is valid for Windows systems.
Quotes should be added on Unix systems:
echo "select * from tt.table1" > script.sql
Even if script.sql
were not containing valid SQL commands, it would not make any difference to the answers. Thanks to Anonymous.
b c
A tool called ‘mysqlexe
‘ does not exist.