mysqldude
Error codes › 3109

MySQL & MariaDB error 3109 ER_GENERATED_COLUMN_REF_AUTO_INC

MySQLGenerated column '…' cannot refer to auto-increment column.
MariaDB
MySQLMariaDB
SymbolER_GENERATED_COLUMN_REF_AUTO_INCER_MYSQL_3109
SQLSTATEHY000HY000
TypeServer errorServer error
Versionssince 5.7.44 activesince 11.2.6 active
How the message changed between versions
MySQL fromSymbolMessage
5.7.44ER_FEATURE_NOT_AVAILABLEThe '%-.64s' feature is not available; you need to remove '%-.64s' or use MySQL built with '%-.64s'
8.0.11ER_GENERATED_COLUMN_REF_AUTO_INCGenerated column '%s' cannot refer to auto-increment column.