Answers for "error code 1215 cannot add foreign key constraint"

SQL
0

error code 1215 cannot add foreign key constraint

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)
Posted by: Guest on January-29-2021

Code answers related to "error code 1215 cannot add foreign key constraint"

Code answers related to "SQL"

Browse Popular Code Answers by Language