|
|
楼主 |
发表于 2021-5-19 15:13:17
|
显示全部楼层
delete from `cinder`.`snapshots` where `id`='5ca0b248-ac38-4d82-98c4-d12c4d940906'1 ] D% l/ h) B/ ^" ]" t
Cannot delete or update a parent row: a foreign key constraint fails (`cinder`.`volume_glance_metadata`, CONSTRAINT `volume_glance_metadata_ibfk_2` FOREIGN KEY (`snapshot_id`) REFERENCES `snapshots` (`id`))+ {7 Q( w3 ]2 `3 s% }: A0 p
! ?8 c. p6 ~( q* M
在这个表中volume_glance_metadata查找snapshot_id=5ca0b248-ac38-4d82-98c4-d12c4d940906
, Q. k. U) ~. {, q6 m6 ]
# c/ K7 k9 }4 n |
|