MySQL: can't insert a record because a foreign key issue -


i have schema enter image description here

when i'm trying add new isp_share record error

enter image description here

although isp table has record id=3

enter image description here

what problem?

from documentation http://dev.mysql.com/doc/refman/5.0/en/create-table-foreign-keys.html

the parent , child tables must use same storage engine..corresponding columns in foreign key , referenced key must have similar data types

also check of other tables.


Comments

Popular posts from this blog

mongodb - Struggling to get ordered results from the last retrieved article, given array of elements to search in -

c# - Pausing a storyboard on TabItem mouse over -

c# - Attribute value in root node of xml Linq to XML -