MySQL uses the tee and output logs record statement

In the mysql command line, use the tee command, you can record the statement and output to the specified file. When debugging would be useful.
Each execution statement, mysql will speak refresh the results to the specified file. Tee function is effective only in interactive mode.

mysql> tee d:\mylearn\learn_Mysql\20191104.sql

 

Logging off functions;

mysql>notee 

Guess you like

Origin www.cnblogs.com/yachao1120/p/11795247.html
tee