Just a shot in the dark... how about : \T /home/karl/sql_log_$$
I believe, in bash, $$ will give you the pid of the process, so you should get a unique (somewhat) file name every time >>>-----Original Message----- >>>From: Karl Larsen [mailto:[EMAIL PROTECTED] >>>Sent: Tuesday, July 11, 2006 2:51 PM >>>To: MYSQL General List >>>Subject: log >>> >>> I have found that \T /home/karl/sql_log will cause >>>evcrything I do >>>to be saved in the file sql_log. Alas if I turn off mysql as >>>I do daily, >>>the log is lost and I have to do it again. >>> >>> Is there a way to get a log like this to be perminant :-) >>> >>> >>>Karl Larsen >>> >>> >>>-- >>>MySQL General Mailing List >>>For list archives: http://lists.mysql.com/mysql >>>To unsubscribe: >>>http://lists.mysql.com/[EMAIL PROTECTED] >>> >>> -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]