List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:November 19 2002 10:00pm
Subject:Re: How to direct mysqldump error to a file?
View as plain text  
At 20:45 +0000 11/19/02, Jannie Qu wrote:
>Hi, all,
>
>sql, query.
>
>I am scheduling a cronjob to backup mysql database using mysqldump.
>================================
>mysql@/usr/local/mysql/output > /usr/local/mysql/bin/mysqldump 
>-umysql -pmysqlpw --opt nondb > bkp1.sql 2> err.log
>Ambiguous output redirect.
>================================
>
>How I can direct any stderr to a file?
>
>Thank you,
>Jing

In this case, you can't, because your command itself is malformed.
mysqldump isn't even executing.

What's that "mysql@/usr/local/mysql/output >" stuff at the beginning
supposed to represent?
Thread
How to direct mysqldump error to a file?Jannie Qu19 Nov
  • Re: How to direct mysqldump error to a file?Paul DuBois19 Nov
Re: How to direct mysqldump error to a file?Jannie Qu19 Nov