且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

将 MySQL 源结果输出到日志文件

更新时间:2023-02-04 21:43:43

在你的 MySQL 客户端中,输入

From within your MySQL client, type

tee session.out

从那时起,您当前客户端会话中的所有 I/O 都将写入文件session.out"

From that point on, all the I/O of in your current client session is written to the file 'session.out'