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?

---------------------------------------------------------------------
Before posting, please check:
  http://www.mysql.com/manual.php   (the manual)
  http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to