Reset Mirthconnect Password
This guide is for resetting password
Mirthconnect Serverinstalled 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 Connectinstallation directory (e.gC:\Program Files\Mirth Connect\server-lib\databasethencd "C:\Program Files\Mirth Connect\server-lib\database")
Step 2
Create backup of
derby.jarfile
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 servicefrom services page.
Step 4
- From command prompt connect to
derbydatabase - 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