MySQL-Fehlermeldung

  • 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

    https://autoclicker.me

    Einmal editiert, zuletzt von Pyr0maniak1 (12. April 2020 um 05:49)

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!