I have an existing database that was created in a different system. I
exported the data as csv. Each line should be a new row. However,
when I try and import, I get repeated errors on all rows after the
first:
Duplicate entry '0' for key 'PRIMARY'
I have no idea what I am supposed to do, and there appear to be no
docs. I have tried it by deleting the index on the primary key, and
the data imports, but the row that is supposed to be the primary key
gets 0 in each row.
If I leave it in, the pk never increments, so I get the error.
I have been trying to do this by selecting the table, going to the
menu and selecting "import" selecting csv, assigning the correct
columns to the correct columns, all as seems obvious. It's just when
it I click import, it imports one row and fails.
I assume there is something blindingly obvious that I am missing. The
tool is basically useless without this function, and everyone else
seems to have no problem at all.
I had hoped I could accomplish something with it the weekend, but it
now seems unlikely
Any help would be appreciated.
--
You received this message because you are subscribed to the Google Groups "Sequel Pro" group.
To post to this group, send email to
seque...@googlegroups.com.
To unsubscribe from this group, send email to
sequel-pro+...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/sequel-pro?hl=en.