0

Hello,

I am trying to import sql database and receive this error message. What does it means?

MySQL menyatakan: Dokumentasi

1452 - Cannot add or update a child row: a foreign key constraint fails (wwwsoulf_revsoul2.timeline, CONSTRAINT timeline_ibfk_1 FOREIGN KEY (user_id) REFERENCES users (id) ON DELETE CASCADE ON UPDATE CASCADE)

2
Contributors
2
Replies
15
Views
5 Months
Discussion Span
Last Post by pty
0

I can't understand this syntax:
CONSTRAINT timeline_ibfk_1 FOREIGN KEY (user_id)

what is timeline_ibfk_1 ?

0

No, the foreign key is working .

Have you read the documentation? If you do and still don't understand I'll tell you how to fix it, but you clearly haven't put in any effort.

Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.