MySQL Forums
Forum List  »  Perl

creating a text file output from a table
Posted by: stuart spriggs
Date: August 22, 2006 10:07AM

I am having trouble saving a table as a text file or csv file. I looked at how to do it using the into outfile command and I get the following message:

mysql> select * from eCBOT_ZN_Jun06_20060302 where id < 10 into outfile 'kss/lauradata.csv';
ERROR 1 (HY000): Can't create/write to file 'kss/lauradata.csv' (Errcode: 2)

Comparted to the example I looked at it doesn't looke like I've done anything wrong. Anyone have any ideas?

Thanks, KS

Options: ReplyQuote


Subject
Written By
Posted
creating a text file output from a table
August 22, 2006 10:07AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.