How to eliminate "Error 1086 Files already exists " in mysql
Hi
i m trying to run these query in crontab but its delivering error 1086 file already exists when it runs second time,can anyone help me how can i replace the output file
cd /mysql/cron
vi crontab.sql
SELECT * FROM affiliate_supplier INTO OUTFILE '/tmp/affilaite.csv' FIELDS TERMINATED BY ','
mysql affliate -uroot -ppassword < /mysql/cron/crontab.sql
ERROR 1086 (HY000): File 'affilaite.csv' already exists
Last edited by sanjay87; 03-27-2012 at 06:53 AM.
|