MySQL & MariaDB error 4111 ER_DROP_PK_COLUMN_TO_DROP_GIPK
Same number, two different errors. 4111 means one thing in MySQL and another in MariaDB. Check which server you are connected to.
MySQLPlease drop primary key column to be able to drop generated invisible primary key.
MariaDBTransaction-precise system versioning for … is not supported