StackOverflow Questions for Tag: mysql-error-1452

user3289677
user3289677

Reputation: 2991

ERROR 1452: Cannot add or update a child row: a foreign key constraint fails

Score: 299

Views: 1334199

Answers: 17

Read More
Chris Broz
Chris Broz

Reputation: 81

Error 1217 vs 1452: Still less verbose despite `GRANT_ALL`

Score: 0

Views: 83

Answers: 0

Read More
Faith
Faith

Reputation: 85

MySQL Error Code: 1452. Cannot add or update a child row: a foreign key constraint fails

Score: 2

Views: 3229

Answers: 1

Read More
rikansha
rikansha

Reputation: 5

#1452 - Cannot add or update a child row: a foreign key constraint fails Policy_payment

Score: -1

Views: 112

Answers: 1

Read More
Classic_Fungus
Classic_Fungus

Reputation: 101

How can i insert value into a table with foreign key?

Score: -2

Views: 2293

Answers: 1

Read More
Hesam Hafezi
Hesam Hafezi

Reputation: 1

To create a trigger that if I insert a row in child table with null foreign key ,It inserts a new row in parent table with that criteria and new id

Score: 0

Views: 148

Answers: 0

Read More
Unpossible
Unpossible

Reputation: 10697

MySQL - Cannot add or update a child row: a foreign key constraint fails

Score: 22

Views: 151598

Answers: 10

Read More
Borut Flis
Borut Flis

Reputation: 16415

Insert with execute many, skipping rows that fail foreign key constraints

Score: 1

Views: 378

Answers: 1

Read More
Lin M. Dotor
Lin M. Dotor

Reputation: 1

MySQL Error inserting a row in a one-to-one relationship - (1452) Cannot add or update a child row: a foreign key constraint fails

Score: 0

Views: 195

Answers: 1

Read More
nlaille
nlaille

Reputation: 55

Doctrine2 inheritance - 1452 : Integrity constraint violation

Score: 1

Views: 1395

Answers: 2

Read More
Dr. Andrew
Dr. Andrew

Reputation: 2621

Suppress MYSQL Error 1452

Score: 0

Views: 370

Answers: 2

Read More
bbfl
bbfl

Reputation: 375

MySQL Workbench Error 1452 suddenly stopped working

Score: 0

Views: 100

Answers: 1

Read More
Oscar
Oscar

Reputation: 23

Why is error 1452 appearing when executing these tables?

Score: -1

Views: 91

Answers: 1

Read More
Zim
Zim

Reputation: 5533

Mysql error 1452 - Cannot add or update a child row: a foreign key constraint fails

Score: 254

Views: 522582

Answers: 21

Read More

Unable to add foreign key between two tables tables on fields signup (uid) and login (uid)

Score: -1

Views: 21

Answers: 1

Read More
Yeshlol
Yeshlol

Reputation: 11

Error 1452 MySQL Load Infile (but correct data)

Score: 1

Views: 426

Answers: 1

Read More
Lisa
Lisa

Reputation: 331

MySQL Error 1452 - can't insert data

Score: 2

Views: 6138

Answers: 2

Read More
Kevin Ho
Kevin Ho

Reputation: 1

Cannot add or update child row MySQL Error 1452

Score: 0

Views: 118

Answers: 1

Read More
Invitro Guy
Invitro Guy

Reputation: 13

SQL Error 1452 while UPDATE non key columns

Score: 0

Views: 49

Answers: 1

Read More
randomdice101
randomdice101

Reputation: 71

Trying to add foreign key in mysql with heidisql

Score: 6

Views: 14482

Answers: 3

Read More
PreviousPage 1Next