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