Record not getting deleted from MySQL database -


i added record in table in mysql database, trying delete particular record table, not getting deleted & showing message:

#1062 - duplicate entry '3107' key 'primary'

how delete entry?

you can not error during delete. update or insert can return either not running delete or have trigger on table, making other changes, give error.

if child tables have on delete cascade,check them triggers well.


Comments

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -