Error: The security database on the server does not have a computer account for this workstation trust relationship
If you encounter this error on a server,
First restart the system if that does not work see below.
login the machine as local administrator and change the domain to workgroup.
Reboot the server
Now change the server from workgroup to domain
What if you forgot the local password ?
I once faced this issue. I just restarted the VM and it resolved the issue.