List:General Discussion« Previous MessageNext Message »
From:Gerald Clark Date:May 30 2001 4:47pm
Subject:Re: Log HELP!
View as plain text  

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
gerald_clark@stripped

Thread
Log HELP!Mohammad Shoja30 May
  • Re: Log HELP!Gerald Clark30 May
  • RE: Log HELP!Ravi Raman30 May