Page 1 of 1

MYSQL creating .out files when using the source /filename?

Posted: Sun Aug 10, 2008 9:19 pm
by recci
I cant get this work but Iv done it before and it was so simple.

If I am loading a script like so at the mysql command prompt:

source/scritps/copy.sql

how do I get the results of the script copied into a .out file?

This is the example in the ref manual but how to I actually put this into practice I cant get it to work

shell> mysql < batch-file > mysql.out

This is urgent please help!

Re: MYSQL creating .out files when using the source /filename?

Posted: Mon Aug 11, 2008 5:01 am
by recci
Nobody knows this??? 8O