Hi,

I am trying to export a query into a .CSV file using SELECT ... OUTFILE at
the command prompt.


It works ok the first time but all subsequent runs give a 1086 error - "File
already exists".

I have to use the command prompt vs. a GUI as I am running this in a .cgi
script.  Is there any way that I overwrite the file each time I export.

Thanks


Steve Carter
 

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to