Reinstalling WSUS in production environment where ConfigMgr 2012 is also present

Hello
I had to reinstall WSUS again in a production environment where ConfigMgr 2012 is also installed. I proceeded as follows: I uninstalled WSUS without the log files, database and updates. I reinstalled WSUS with KB2720211 and KB2734608 updates. Then I rebooted the server and started synchronizing software updates. But now I am not able to connect to the WSUS database. Instead an error message saying that the existing database is not compatible with the windows server updates was displayed. Where have I gone wrong? What could be causing the issue? Please help. I am waiting for your valuable suggestions on this issue. Thank you.

The existing database is not compatible with this version of
Windows Server Update Services 3.0 SP2.
Select another database instance or create a new database
