mysqldude
Error codes › 1834

MySQL & MariaDB error 1834 ER_FK_CANNOT_DELETE_PARENT

MySQLCannot delete rows from table which is parent in a foreign key constraint '…' of table '…'
MariaDBCannot delete rows from table which is parent in a foreign key constraint '…' of table '…'
MySQLMariaDB
SymbolOBSOLETE_ER_UNUSED5ER_FK_CANNOT_DELETE_PARENT
SQLSTATEHY000HY000
TypeServer errorServer error
Versionssince 5.6.51; now an unused placeholder (since 8.0.11) obsoletesince 10.0.38 active
How the message changed between versions
MySQL fromSymbolMessage
5.6.51ER_FK_CANNOT_DELETE_PARENTCannot delete rows from table which is parent in a foreign key constraint '%-.192s' of table '%-.192s'
5.7.44ER_UNUSED5Cannot delete rows from table which is parent in a foreign key constraint '%-.192s' of table '%-.192s'
8.0.11OBSOLETE_ER_UNUSED5Cannot delete rows from table which is parent in a foreign key constraint '%-.192s' of table '%-.192s'