Setting up a new encrypted password on a MOCA server for RedPrairie/JDA WMS
Whether you’re upgrading a MOCA server’s database, pointing it to a different database or cloning an application Server that requires you to change the database password, you’re going to need to use the mpasswd utility provided under MOCADIR\bin.
Looking at mpasswd -h we can that we can use it for the following options, I will give you a couple of examples on how to do this:

- Setting up a new console password

If you’re working with someone or are in a shared space, you can hide the password by not using the -n flag

2. Setting up a new database password
If you’re setting up a new installation or repointing the Application Server to a different database, you can use mpasswd -d to generate an encrypted password for the database user or database administrator.

Whatever your scenario is, once the password has been encrypted, you can use it in MOCA Registry and then restart the Application Server and your changes will be saved.