MySQL & MariaDB error 4109 ER_GIPK_FAILED_AUTOINC_COLUMN_EXISTS
Same number, two different errors. 4109 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
MySQLFailed to generate invisible primary key. Auto-increment column already exists.
MariaDBRows matched: … Changed: … Inserted: … Warnings: …