I installed nextcloud and mysql on a raspberry pi. The mysql database is working but not the replication. On the Slave machine, I get the Error 1071:
Error ‘Specified key was too long; max key length is 767 bytes’ on query. Default database: ‘nextcloud’. Query: ‘CREATE TABLE oc_migrations (app VARCHAR(255) NOT NULL, version VARCHAR(255) NOT NULL, PRIMARY KEY(app, version)) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_bin ENGINE = InnoDB ROW_FORMAT = compressed’
How can I fix this Error?