mysqldude
Error codes › 1905

MariaDB error 1905 ER_WRONG_FK_OPTION_FOR_GENERATED_COLUMN

Error messageCannot define foreign key with … clause on a generated column
SymbolER_WRONG_FK_OPTION_FOR_GENERATED_COLUMN
SQLSTATEHY000
TypeServer error
Versionsevery release since 5.5 active
How the message changed between versions
MariaDB fromSymbolMessage
5.5.68ER_WRONG_FK_OPTION_FOR_VIRTUAL_COLUMNCannot define foreign key with %s clause on a computed column
10.2.44ER_WRONG_FK_OPTION_FOR_GENERATED_COLUMNCannot define foreign key with %s clause on a generated column