I was restoring a database in MarkLogic and accidently I changed the security database also. Now I am not able to login into the admin interfaces using my previous admin username and password. I went through the documentation and came to know that if realm is changed in security database this can happen. But no solution was provided. I have tried uninstalling and reinstalling MarkLogic but as this does not change the security database, I still could not login. I am sure that there must be a way to reset my login credentials but I couldn’t find it. Can someone suggest what should I do??
I was restoring a database in MarkLogic and accidently I changed the security database
Share
How about:
If you have a backup of the Security database, then restore that first. If not, recreate all security settings manually. After that, continue with:
You could try fiddling a bit with the XML configs like assignments.xml, but that is not highly recommended, and do make copies before you do so..
HTH!