TEE statement in mysql

by Rekha 2009-04-02 17:12:33

The TEE statement may be used to log output from your SQL statements to a text file. The following command copies all output to the file query.txt so you can examine the results of running your queries.

mysql> TEE query.txt


You can turn off logging using the NOTEE statement.

mysql> NOTEE

Tagged in:

3416
like
0
dislike
0
mail
flag

You must LOGIN to add comments