Error: Unable to initialize a connection to the core database: Current store version is 1030; can't move backwards to 870

Hi Guys,

I tried to upgrade to latest version for Connect server and I got the following errors after service restart.

2023/09/27 18:33:54 Acquiring db upgrade lock for core database.

2023/09/27 18:33:54 Lock acquired, checking for necessary upgrades.

2023/09/27 18:33:54 DB upgrade lock for core database released.

2023/09/27 18:33:54 Error: Unable to initialize a connection to the core database: Current store version is 1030; can't move backwards to 870

Any suggestions? Even I am getting the same error and Connect is automatically restarting itself due to this error message in the logs.