Error 4169: AUTO_INCREMENT column cannot be used in the UNIQUE index

Error Code
SQLSTATE
Error
Description

4169

ER_NO_AUTOINCREMENT_WITH_UNIQUE

AUTO_INCREMENT column %s cannot be used in the UNIQUE index %s

Possible Causes and Solutions

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

Last updated

Was this helpful?