help my proplem when insert in tabel mysql
my structure table:
when insert in table error here...
please solution..
help my proplem when insert in tabel mysql
my structure table:
when insert in table error here...
please solution..
This error says, the new record has an existing record into the table you are working. Please check your primary key before inserting it as a new record.
Hope it helps you.
It tells you that IDS0000702
is already used in your table. Make sure the column that holds that kind of id (which I guess the user_id
column) is not unique (if not intended to save data uniquely):
//if you want to change your "suspecting" column's attribute
ALTER TABLE mytable DROP INDEX mycolumn
thanks all.... PROBLEM SOLVED two step for resolved problem:
SHOW INDEX FROM <table_name>;
ALTER TABLE <table_name> DROP INDEX <index_name>;
im found the index in user_id "fkss" thanks any answer.. :) link refernce