Setting up a new encrypted password on a MOCA server for RedPrairie/JDA WMS

Ali Ahmed
2 min readDec 6, 2019

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:

mpasswd usage
  1. Setting up a new console password
Password is displayed on screen

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

Password Hidden

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.

Setting up DB user and DB Admin Password

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.

--

--

Ali Ahmed

I am an experienced IT Consultant who has a knack to solve complex problems. Want to connect? Reach out to me on: http://www.linkedin.com/in/ali-ahmed-jdawms