With the following setup, KeyCloak via Docker cannot initialize a first-run setup.
Scenario:
Digital Ocean (DigitalOcean.com) managed MySQL 8 server, Quay (19.0.2) deployed via the App service. This is a new database.
ERROR: Unable to create or change a table without a primary key, when the system variable ‘sql_require_primary_key’ is set
From what I can discern, there are missing primary keys in the table schema’s. Primary keys are required by the latest updates to mySQL 8 at DO. it also seems the only ‘potential’ route is using DO’s management API to disable a key feature of mySQL 8, which they highly advise against.
Does anyone else know of a better method to overcome this issue? Hopefully one that would work within the DockerFile config?