If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Problems with tee

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-29-04, 13:13
massimo1957 massimo1957 is offline
Registered User
 
Join Date: Apr 2004
Posts: 2
Problems with tee

hi!
I have a very simple problem, but I can't find any solution on the net (maybe I am too stupid for that).
If I start a batch-file (or a shell-file in Linux) like this:

mysql --tee=test.log < test.sql

and test.sql is a valid query with an output, a file test.log will be created, but it's empty.

What's wrong?

Thanks
Massimo
Reply With Quote
  #2 (permalink)  
Old 04-29-04, 14:34
anacedent anacedent is offline
Registered User
 
Join Date: Aug 2003
Location: Where the Surf Meets the Turf @Del Mar, CA
Posts: 6,413
from
mysql --help


--tee=name Append everything into outfile. See interactive help (\h)
also.
Does not work in batch mode.
^^^^^^^^^^^^^^^^^^
__________________
You can lead some folks to knowledge, but you can not make them think.
The average person thinks he's above average!
For most folks, they don't know, what they don't know.
Reply With Quote
  #3 (permalink)  
Old 04-29-04, 16:18
massimo1957 massimo1957 is offline
Registered User
 
Join Date: Apr 2004
Posts: 2
that's a pity...

... I naturally read it, but I hoped there is something else (I couldn't believe it).
I am a mysql fan, but in this case, for certain purposes, it's a very big lack.
Thanks for the answer.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On