I have found something new today and its a command. Its called tee command. tee followed by a filename turns on MySQL logging to a specified file. It can be stopped by command note. I am looking for more information about this command.
Oh tee. I use this all the time. Not sure what you are talking about in reference to mysql, but this command allows you to create a new text file and add text to it. For example. tee index.php After typing the above it starts and anything you type from this point forward will get added to the file called index.php CTRL+C to stop