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?