Jump to content

Recommended Posts

I am trying to upload some a csv file to the "raw data" table in mysql and I am getting the following error:

 

Error

SQL query:

INSERT INTO `rawdata`

VALUES (

'128', 'CI', 'TA', 'TA', 'TA', 'FL', 'P UL LS DIESEL', 'U', '12/28/2009', '18:00', '2.142', '0.037'

)

MySQL said: 

#1062 - Duplicate entry '127' for key 1

 

I am using Server version: 5.0.67.d7 of mysql.  I have tried the import a few different times (with different data) and the import seems to only import 127 rows of data.

Can anyone please help me with this?

Thanks

Link to comment
https://forums.phpfreaks.com/topic/187313-1062-duplicate-entry-127-for-key-1/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.