What is the mysql command to pass all command line input to a file on Fedora OS?
I am running multiple queries from mysql command line on my Linux box (Fedora Os). I would like to write it all down automatically to a file. I know Linux has a command called history and then you can pipe it to a file. Is there something like this for MYSQL. I would like to keep all my scripts and sql query just for reference at a later point.
Help rate.
0
source to share