MySQL Forums
Forum List  »  Perl

Re: capturing mysql errors with backticks
Posted by: San jeet
Date: May 05, 2007 01:54AM

I think you need to redirect before you pipe:

mysql db -u user -p -v < t.sql 2>&1|tee t.out



Edited 1 time(s). Last edit at 05/05/2007 01:54AM by San jeet.

Options: ReplyQuote


Subject
Written By
Posted
Re: capturing mysql errors with backticks
May 05, 2007 01:54AM


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.