Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2004
    Posts
    2

    Unanswered: 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

  2. #2
    Join Date
    Aug 2003
    Location
    Where the Surf Meets the Turf @Del Mar, CA
    Posts
    7,776
    Provided Answers: 1
    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.
    Good judgement comes from experience. Experience comes from bad judgement.

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •