Reset Mirthconnect Password

This guide is for resetting password Mirthconnect Server installed on Windows.

We all have been in situation where we forgot our password and we are not able to login to our Mirthconnect server. In this guide i will guide you to reset your password.

Prerequisites

Java should be installed in you computer, since if you are using Mirth Connect you have already installed java JDK installed on your system.

Steps

Step 1

  • Open Command Prompt as Administrator
  • Navigate to Mirth Connect installation directory (e.g C:\Program Files\Mirth Connect\server-lib\database then cd "C:\Program Files\Mirth Connect\server-lib\database")

Step 2

Create backup of derby.jar file

  • java -cp derbytools-{version-no}.jar;derby-{version-no}.jar org.apache.derby.tools.ij

Do not close the command prompt window.

Step 3

  • Stop Mirth service from services page.

Step 4

  • From command prompt connect to derby database
  • with command connect 'jdbc:derby:C:/Program Files/Mirth Connect/appdata/Mirthdb';

Step 5 For Old Mirthconnect version

  • use this command update person_password set password = 'YzKZIAnbQ5m+3llggrZvNtf5fg69yX7pAplfYg0Dngn/fESH93OktQ==' where person_id = 1;

For New Mirthconnect version

  • update person_password set password='SALT_Np+FZYzu4M0=NdgB6ojoGb/uFa5amMEyBNG16mE=' WHERE person_id=1;

Step 6

  • Start Mirth Service
  • login as admin/admin