On 30-May-01 Mohammad Shoja wrote: > Hello everybody. > would you please tell me how can I log execution of a DDL? Whats a DDL ? > I have a test.sql which is a DDL file, I wanna log its output but > when I > try the following it create log file but its empty. > > mysql -u root databasename <test.sql >log > > it Just send errors and logs to STDERR. mysql -u root databasename <test.sql >log 2>&1 Regards, -- Don Read [EMAIL PROTECTED] -- It's always darkest before the dawn. So if you are going to steal the neighbor's newspaper, that's the time to do it. --------------------------------------------------------------------- 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