Race between config-changed and the mysql instance actually starting and being re-synced; The charm has a helper for determining whether things are up and in sync, we should guard using that OR potenially wrap db ops calls in retry_on_exception for OperationalErrors.
Race between config-changed and the mysql instance actually starting and being re-synced; The charm has a helper for determining whether things are up and in sync, we should guard using that OR potenially wrap db ops calls in retry_on_exception for OperationalErrors.