For the complete documentation index, see llms.txt. This page is also available as Markdown.

Error 1905: Cannot define foreign key with clause on a generated column

Error Code
SQLSTATE
Error
Description

1905

ER_WRONG_FK_OPTION_FOR_GENERATED_COLUMN

Cannot define foreign key with %s clause on a generated column

Possible Causes and Solutions

This page is licensed: CC BY-SA / Gnu FDL

spinner

Last updated

Was this helpful?