Re: spool data/log into a file.

2007-04-30 Thread Joerg Bruehe
Hi Michale, all [EMAIL PROTECTED] wrote: most likely you just need to redirect STDERR to tee as well so it's not a mysql problem: mysql -u -p -f << eof 2>&1 | tee ttt.txt ... assuming it's Bourne or ksh, don't remember what's csh for 2>&1 It is an appended '&': prog >& file

Re: spool data/log into a file.

2007-04-26 Thread mizioumt
AIL PROTECTED] To: mysql@lists.mysql.com Sent: Thu, 26 Apr 2007 8:15 AM Subject: spool data/log into a file. Hi All, I have written a script to connect to mysql and all the command results is spooled into a file. But when an error occurs in mysql, it stops at that point and does not proceed to th

spool data/log into a file.

2007-04-26 Thread Ananda Kumar
Hi All, I have written a script to connect to mysql and all the command results is spooled into a file. But when an error occurs in mysql, it stops at that point and does not proceed to the next command, also these error command is not written to the output file. Can you please tell me what i nee