Getting error in BESRelay.log

Hi , Iam getting error in BESrelay.log on IEM server -
Unable to connect to database: Database Error: The database being connected to has a database version of 'Enterprise 6.16', and this application requires a database version of 'Enterprise 7.34'.

IEM 9.2 Patch 5 installation failed and this may be cauing this issue. Looks its not able to complete remote DB upgrade.

Was there any error when you ran the upgrade installer?

Yes. There was database connection error. But now its able to connect database but this error started appearing. If I run installer again it prompts me to remove IEM installation.
How can I upgrade Database manually? Or install IEM without removing it.

Did you run the BESAdmin tool?

Yes. Its asking me to upgrade, but when I do I get below database error -

Database appears inconsistent state.There is already an object  named "EXTERNAL_ANALYSIS_PROPERTY_TRANSLATIONS" in the database. (S0001:2714)

I’d highly recommend opening a PMR for this issue: