|
|
楼主 |
发表于 2021-5-19 15:13:17
|
显示全部楼层
delete from `cinder`.`snapshots` where `id`='5ca0b248-ac38-4d82-98c4-d12c4d940906'' n5 {1 j" Y' @$ X; W9 @! K, Z
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`))
+ l7 M4 d* Q1 N+ J4 m& C: y. p
6 z* I+ q5 p6 r5 \% U: D- A在这个表中volume_glance_metadata查找snapshot_id=5ca0b248-ac38-4d82-98c4-d12c4d9409068 Z, y* I O) G- D! W- t* r Q( j
2 k/ A' ]- j$ h/ s0 q* w3 t
|
|