MySQL Forums
Forum List  »  Newbie

Re: LOAD DATA INFILE date format hell
Posted by: Sandip Karande
Date: February 22, 2007 06:04AM

Hi,
I am also a newbie to mysql. I have a small problem and I hope you have a solution.

I am importing a csv file containg around 1,000,000 records.

I can import it into a flat table (no auto increment column or indexes) with LOAD DATA INFILE.

Initially that table does not contain any auto increment field. But after
importing records, I need to add auto increment field into that tabel.

As I am loading that file through php script, it timed out when trying to add auto increment primary key field into that table after import.

Please help me.

Thanks in advance.....

Options: ReplyQuote


Subject
Written By
Posted
Re: LOAD DATA INFILE date format hell
February 22, 2007 06:04AM


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.