Results 1 to 3 of 3
Nov 16, 2007, 08:53 #1
- Join Date
- Nov 2007
- 0 Post(s)
- 0 Thread(s)
#1217 -Cannot delete or update a parent row: a foreign key constraint fails
My name's Eduardo and i'm reading the book "Build Your Own Database Driven
Website using PHP & MySQL".
Well, actually, i'm reading the sample, but anyway, i'm doing a mysq database and I made some tables and filled in some information just fo testing, but when I try to delete the data from the tables,or when I try tdrop the tables, nothing happens, and I get the following message:"#1217 -
Cannot delete or update a parent row: a foreign key constraint fails". Could
somebody tell me what does this means?