在数据库里彻底删除一个虚拟机

mysql> SET FOREIGN_KEY_CHECKS = 0; 修改KEY值,使此库变为可直接删除状态

Query OK, 0 rows affected (0.00 sec)


mysql> delete from instances  where uuid="3ab73261-82ce-4b9a-9a1c-519624e19dc2";

Query OK, 1 row affected (0.03 sec)


mysql> SET FOREIGN_KEY_CHECKS = 1; 删除后,修改KEY值,使此库变为不可直接删除状态

Query OK, 0 rows affected (0.00 sec)


你可能感兴趣的:(openstack,常见问题)