RE: redirect mysql output to file

2003-02-25 Thread David Lubowa
n to change your life -Original Message- From: Mike Doanh Tran [mailto:[EMAIL PROTECTED] Sent: Monday, February 24, 2003 8:51 PM To: [EMAIL PROTECTED] Subject: redirect mysql output to file Hi, How do i redirect a mysql output to a file from the command line? For example, I want

Re: redirect mysql output to file

2003-02-24 Thread Stefan Hinz
Mike, > How do i redirect a mysql output to a file from the command line? > For example, I want to save DESCRIBE test_table > test_table.file > without doing a MYSQLDUMP. To have the mysql client write a protocol, start it, and then do: mysql> tee myoutfile.txt Logging to file 'myoutfile.txt'

Re: redirect mysql output to file

2003-02-24 Thread Zak Greant
On Mon, Feb 24, 2003 at 10:50:53AM -0700, Mike Doanh Tran wrote: > Hi, > > How do i redirect a mysql output to a file from the command line? > For example, I want to save DESCRIBE test_table > test_table.file > without doing a MYSQLDUMP. Use the mysql command line client from your command lin

RE: redirect mysql output to file

2003-02-24 Thread Joe Stump
nday, February 24, 2003 9:51 AM To: [EMAIL PROTECTED] Subject: redirect mysql output to file Hi, How do i redirect a mysql output to a file from the command line? For example, I want to save DESCRIBE test_table > test_table.file without doing a MYSQLDUMP. thanks, MT -

Re: redirect mysql output to file

2003-02-24 Thread Robert Citek
At 10:50 AM 2/24/2003 -0700, Mike Doanh Tran wrote: >How do i redirect a mysql output to a file from the command line? >For example, I want to save DESCRIBE test_table > test_table.file >without doing a MYSQLDUMP. >From the command line: $ echo 'describe test_table' | mysql {dbname} > test_ta

redirect mysql output to file

2003-02-24 Thread Mike Doanh Tran
Hi, How do i redirect a mysql output to a file from the command line? For example, I want to save DESCRIBE test_table > test_table.file without doing a MYSQLDUMP. thanks, MT - Before posting, please check: http://www.mysql