The idm and idm_staging database on M5 appears to have been created as "binary" and not "utf8mb4".
The databases will be used for a Django project, which is rather picky about database encoding, and supports only utf8.
Currently there's no data in either database, and they can be deleted, if that makes the task of changing the encoding easier.
I don't believe I specified encoding on the original task, which I should have, sorry.