https://iphwiki.net/index.php?title=MySQL_-_ERROR_1217_(23000):_Cannot_delete_or_update_a_parent_row:_a_foreign_key_constraint_fails&feed=atom&action=historyMySQL - ERROR 1217 (23000): Cannot delete or update a parent row: a foreign key constraint fails - История изменений2024-03-29T05:00:12ZИстория изменений этой страницы в викиMediaWiki 1.35.0https://iphwiki.net/index.php?title=MySQL_-_ERROR_1217_(23000):_Cannot_delete_or_update_a_parent_row:_a_foreign_key_constraint_fails&diff=6916&oldid=prevAdmin iph: Новая страница: « === MySQL - ERROR 1217 (23000): Cannot delete or update a parent row: a foreign key constraint fails === При удалении базы mymail получае…»2019-09-10T08:39:39Z<p>Новая страница: « === MySQL - ERROR 1217 (23000): Cannot delete or update a parent row: a foreign key constraint fails === При удалении базы mymail получае…»</p>
<p><b>Новая страница</b></p><div><br />
<br />
=== MySQL - ERROR 1217 (23000): Cannot delete or update a parent row: a foreign key constraint fails ===<br />
<br />
При удалении базы mymail получаем ошибку вида:<br />
MariaDB [(none)]> drop database mymail;<br />
ERROR 1217 (23000): Cannot delete or update a parent row: a foreign key constraint fails<br />
<br />
Решение этой проблемы:<br />
MariaDB [(none)]> SET FOREIGN_KEY_CHECKS=0; drop database mymail; SET FOREIGN_KEY_CHECKS=1;</div>Admin iph