Mohammad Shoja wrote:

> Mybe this is not a mysql question but a unix command line question:
> would you please tell me how can I log execution of 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

mysql -u root databasename <test.sql 2>&1 >log

> 
> it Just send errors and logs to STDERR.
> Thanks you for your helps in advance.
> 
> 


-- 
Gerald L. Clark
[EMAIL PROTECTED]


---------------------------------------------------------------------
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