Hello I want to insert a customer into my table, but I get this error message:
# 1452 - Cannot add or update a child row: a foreign key constraint fails (`ceapoint_kunden`.`kunden`, CONSTRAINT` customers_ibfk_1` FOREIGN KEY (`license key`) REFERENCES` license`` (`l_ key key`))
I have already tried to find something about this error here in the forum. there is also something to it but that didn't help me.
I do not understand in itself why he does not do this when an FK is included?
then I tried to work around it with SET FOREIGN_KEY_CHECKS = 0 but that didn't work either,
Please help