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