Solution ID: 1854
Type: MySQL
Arguments:
1854
SQLSTATE: HY000 (ER_ALTER_OPERATION_NOT_SUPPORTED_REASON_AUTOINC)
Message: Adding an auto-increment column requires a lock
Browse all solutions to database errors from Oracle, MS SQL or MySQL