Re: spool log to a file

2008-07-30 Thread walter harms
root -pxxx -Dtest -s -e 'select * from amc_25;' > 1.txt >> >> but it would be nice to see other solutions... >> >> >> -Original Message- >> From: Ananda Kumar [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, July 29, 2008 6:37 AM >>

Re: spool log to a file

2008-07-30 Thread Ananda Kumar
29/08, Mary Bahrami <[EMAIL PROTECTED]> wrote: >> > >> > I use >> > mysql -uroot -pxxx -Dtest -s -e 'select * from amc_25;' > 1.txt >> > >> > but it would be nice to see other solutions... >> > >> > >> >

Re: spool log to a file

2008-07-29 Thread Ananda Kumar
gt; Sent: Tuesday, July 29, 2008 6:37 AM > To: mysql > Subject: spool log to a file > > Hi All, > I am executing below command, but there is no entires in 1.txt, its > an > empty file. How can i write the logs into this file. > > mysql -uroot -pxxx -Dtest -s --tee=1.txt -e 'select * from > amc_25;' > > regards > anandkl >

RE: spool log to a file

2008-07-29 Thread Mary Bahrami
I use mysql -uroot -pxxx -Dtest -s -e 'select * from amc_25;' > 1.txt but it would be nice to see other solutions... -Original Message- From: Ananda Kumar [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 29, 2008 6:37 AM To: mysql Subject: spool log to a file

spool log to a file

2008-07-29 Thread Ananda Kumar
Hi All, I am executing below command, but there is no entires in 1.txt, its an empty file. How can i write the logs into this file. mysql -uroot -pxxx -Dtest -s --tee=1.txt -e 'select * from amc_25;' regards anandkl

spool log to a file

2008-07-29 Thread Ananda Kumar
Hi All, I am executing below command, but there is no entires in 1.txt, its an empty file. How can i write the logs into this file. mysql -uroot -pxxx -Dtest -s --tee=1.txt -e 'select * from amc_25;' regards anandkl