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

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
recci
Forum Commoner
Posts: 42
Joined: Tue Jul 29, 2008 10:01 pm

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

Post 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!
recci
Forum Commoner
Posts: 42
Joined: Tue Jul 29, 2008 10:01 pm

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

Post by recci »

Nobody knows this??? 8O
Post Reply