Issue with Patient Flag Module

I tried to install the openmrs patient flag module:

It installed but could not start. I got this error when I installed the latest version (3.0.1): Error while trying to start module Unable to update data model using liquibase.xml. Module: Patient Flags Module

Can you share the server log using

Which version of MySQL are you running?

I am running 5.7

What does this command return?

SELECT table_schema, table_name, engine, table_collation FROM information_schema.tables WHERE table_name in ('role', 'patientflags_tag_role') AND table_schema = 'openmrs'

table_schema should be the name of your database

openmrs patientflags_tag InnoDB latin1_swedish_ci
openmrs role InnoDB utf8_general_ci

I think the liquidbase is running the Database scripts using latin1_swedish_ci where as my DB expects utf8_general_ci so how do change that from the source.

What is the “connection.url” in your openmrs runtime properties file?