📜  错误代码 1215 无法添加外键约束 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:20.544000             🧑  作者: Mango

代码示例1
Try this if are data in one or more tables from foreign key references
set foreign_key_checks=0;

Else it is a problem in forign key parameters (references parameters)