Cannot delete or update a parent row a foreign key constraint fails (`groupcadb`.`wechat_area_gird`,

This error occurs, indicating that the data to be deleted, acts as a foreign key in another table, such as id have this data in the associated table of two tables,

So when you delete this record, you will be prompted this error

Guess you like

Origin blog.csdn.net/qq_41340666/article/details/93769068
Recommended