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
>>
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...
>> >
>> >
>> >
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
>
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
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
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