Re: capturing mysql errors with backticks
Posted by:
Betty Sun
Date: March 12, 2007 07:13PM
Hi.
I'm trying to to use 2>&1 in Unix command line with the following, but it didn't work. The error doesn't go to t.out nor to the terminal.
mysql db -u user -p -v < t.sql |tee t.out 2>&1
If I eliminate the tee part, the error goes to the beginning of the output instead of where it failed. Is there a way to fix it?
Can someone help?
Thanks,
Betty
Edited 1 time(s). Last edit at 03/15/2007 03:01PM by Betty Sun.
Subject
Written By
Posted
February 07, 2007 11:04AM
Re: capturing mysql errors with backticks
March 12, 2007 07:13PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.