Error 1851: Adding foreign keys needs foreign_key_checks=OFF
Error Code
SQLSTATE
Error
Description
1851
HY000
ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_FK_CHECK
Adding foreign keys needs foreign_key_checks=OFF
Possible Causes and Solutions
This article doesn't currently contain any content. You can help!
This page is licensed: CC BY-SA / Gnu FDL
PreviousError 1850: Cannot change column type INPLACENextError 1852: Creating unique indexes with IGNORE requires COPY algorithm to remove duplicate rows
Last updated
Was this helpful?