I am learning about MySQL etc. I have HeidiSQL and also am a little familiar with phpMyAdmin. However, I am right now interested in running a batch file from PuTTY. But I don’t know where to put the batch file so that it is accessbile from the mysql> CLI input. I didn’t see anything about batch files in the wiki.
Where would I put the file batch_test.sql? Will I need additional arguments for the command “SOURCE batch_test.sql”?
*EDIT: I am connecting via PuTTY to mysql.mydomain.com.