Hi All,

I have a requirement to execute .sql file (MySQL database) from windows command line and capture the output in a out file

For this I am able to execute sql file as below

C:\mysql -u root -padmin < D:/test.sql

But I am unable to capture the out put in a file I tried with > file name but it did not work

Thanks
Srinivas