Thank you for posting in Microsoft Q&A forum.
It's a duplicate to:
https://learn.microsoft.com/en-us/answers/questions/772026/error-changing-sccm-database.html?childToView=772554#answer-772554
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.