All supported NCM versions
su - pgdba -c 'psql voyencedb voyence'
update cm_user set login_attempts_remaining=3, enabled='t' where user_name='sysadmin';
update cm_user set enabled='t', login_attempts_remaining=3, password='SKNltM4eMipVrpAX89rwwA==' where user_name='sysadmin';
This will reset password to default, login to NCM with default username and password. Change password if needed as per the requirement.
Refer to Cannot connect to the Smarts NCM database because the password is unknown if DB password is not known/forgotten.