When I’m importing a dump file from another existing website, it shows me the following error:
-- Duming data for table 'wp_cimy_uef_data'
--
INSERT INTO 'wp_cimy_uef_data' ('ID', 'USER_ID', 'FIELD_ID', 'VALUE') VALUES
(1, 1, 1, '');
--
#1062 Duplicate entry '1' for key PRIMARY (ID)
I’ve checked and there is an AUTO_INCREMENT on the ID. What can be the problem?
BTW,
the plugin works just fine in the original website, only after dumping the DB to the new site it happens
You are trying to insert a
1
into theID
field rather than letting it be assigned by theAUTO_INCREMENT
, and there is already an entry in your database with anID
value of1
.Omit the
ID
in your columns and values to have it auto assigned.