Good Oyster
Perch
Ok, I'm no idiot, but I'm no MySQL guru either!
I'm trying to insert some data into a table in a MySQL database. I had 125 records to insert from one MySQL table to another. The receiving table already had 3 records in it. I ran my script to download from one and upload to the other. All but one record transferred, and I get this error:
None of the fields I was transferring to, or from, were primary key fields or unique, and I know a MySQL table can have more than 127 records!
The ID field is supposed to auto increment. I deleted the record with ID 127, and then I could insert another record, and now it is 127. But if I try to insert another record, I get the same error.
Anybody know what causes this and how to fix it?
I'm trying to insert some data into a table in a MySQL database. I had 125 records to insert from one MySQL table to another. The receiving table already had 3 records in it. I ran my script to download from one and upload to the other. All but one record transferred, and I get this error:
#1062 - Duplicate entry '127' for key 1
None of the fields I was transferring to, or from, were primary key fields or unique, and I know a MySQL table can have more than 127 records!
The ID field is supposed to auto increment. I deleted the record with ID 127, and then I could insert another record, and now it is 127. But if I try to insert another record, I get the same error.
Anybody know what causes this and how to fix it?